My account

Delete primary email

Delete primary email for the user, a logto-verification-id header is required for checking sensitive permissions. The request is rejected if it would remove the user's last identifier.

delete/api/my-account/primary-email

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/my-account/primary-email
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Response

The primary email was deleted successfully.

Changes

No recorded changes to this operation across all 8 revisions of this API.