mailboxId to target a single mailbox.firstName, lastName, username and profilePicture with the new values.data. A rejected instruction appears as { "error": {} } while the request still returns 200, so check every element.mailboxId that is not in the workspace is rejected for that instruction. domainId and userId target admin mailboxes on Google accounts.username changes the email address.curl --location --request PUT 'https://api.zapmail.ai/api/v3/mailboxes' \
--header 'x-auth-zapmail;' \
--header 'x-workspace-key;' \
--header 'Content-Type: application/json' \
--data '{
"mailboxData": [
{
"mailboxId": "0b6f7a52-3a0e-4a73-9d34-6f0d1a2c9e11",
"firstName": "Jane",
"lastName": "Doe",
"username": "jane.doe"
}
]
}'{
"status": 200,
"message": "User details changes are in progress",
"data": [
{
"mailboxId": "0b6f7a52-3a0e-4a73-9d34-6f0d1a2c9e11",
"failureDetails": []
}
]
}