Auth

Confirm and apply a sign-in email change

post/auth/email-change/{id}/confirm

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/auth/email-change/{id}/confirm
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Path parameters

idstring required

Email-change challenge ID

Request body

$schemastring uri

A URL to the JSON Schema for this object.

codestring required

Six-digit code sent to the new address

Example request

{
  "$schema": "https://example.com/api/v1/schemas/ConfirmEmailChangeInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

emailstring required

Confirmed sign-in email address

revoked_sessionsinteger required

Other sessions revoked after the identity change

Example response

{
  "$schema": "https://example.com/api/v1/schemas/ConfirmEmailChangeOutputBody.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.