My account

Delete a user identity

Delete an identity (social identity) from the user. A logto-verification-id header is required when the user has at least one security verification method: password, primary email, or primary phone. The header can be omitted only when the user has none of these methods. The request is rejected if it would remove the user's last identifier.

delete/api/my-account/identities/{target}

Request

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

Path parameters

targetstring required

Response

The identity was deleted successfully.

Changes

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