Start an email address addition or replacement.
curl --request POST \ --url https://auth.example.com/api/account/identifier-replacements/start \ --header 'Content-Type: application/json' \ --cookie authrim_session=<authrim_session> \ --data '{ "email": "hello@example.com" }'Requires authentication within the last five minutes and sends a one-time code to the new address. Adds the first email address when the account does not have one; otherwise replaces the current address.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Example generated
{ "email": "hello@example.com"}Responses
Section titled “ Responses ”Verification challenge accepted.
object
Example generated
{ "challenge_id": "example", "expires_in": 1}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}