OrganizationsOrganization settings
Change a member's email
PATCH
Only for a member whose address is at a domain this organization's SSO holds (403 otherwise, and for a guest), whose owner can't change it. The new address may be at any domain but one another organization's SSO holds, here or in another region (409), or another account's (409). Verified when one of this organization's SSO domains covers it.
Who may call it: An owner or security admin of the organization. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
slug*stringThe organization's slug, as in its URL.
memberId*stringapplication/json- body
email*stringMatch
^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailLength
length <= 254OK.
application/json- response
email*stringMatch
^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$Format
emailemailVerified*booleanTrue when one of the organization's SSO domains covers the address; otherwise its owner confirms it.
Example Request
curl -X PATCH 'http://localhost:3000/api/organizations/string/security/members/string/email' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com"}'Example Response
{ "email": "user@example.com", "emailVerified": true}