array
true
false
NOTE: At least one of these mailboxId, domainId, userId is required
{ "mailboxData": [ { "userId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "firstName": "Alice", "lastName": "Johnson", "username": "alice.johnson", "removeProfilePicture": true }, { "mailboxId": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", "firstName": "Bob", "lastName": "Wilson" }, { "domainId": "6ba7b811-9dad-11d1-80b4-00c04fd430c8", "firstName": "Charlie", "lastName": "Brown", "profilePicture": "https://cdn.example.com/charlie.jpg" } ] }
curl --location --request PUT 'https://api.zapmail.ai/api/v2/mailboxes' \ --header 'x-auth-zapmail;' \ --header 'x-workspace-key;' \ --header 'x-service-provider;' \ --header 'Content-Type: application/json' \ --data-raw '{ "mailboxData": [ { "userId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "firstName": "Alice", "lastName": "Johnson", "username": "alice.johnson", "removeProfilePicture": true }, { "mailboxId": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", "firstName": "Bob", "lastName": "Wilson" }, { "domainId": "6ba7b811-9dad-11d1-80b4-00c04fd430c8", "firstName": "Charlie", "lastName": "Brown", "profilePicture": "https://cdn.example.com/charlie.jpg" } ] }'
{ "status": 200, "message": "User details changes are in progress", "data": [ { "mailboxId": "a9a0feda-ca3a-435c-a357-385d36e92f5a", "profileUrl": "", "failureDetails": [] } ] }