Delete a user identity

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

Delete an identity (social identity) from the user, a logto-verification-id in header is required for checking sensitive permissions.

Responses

  • The identity was deleted successfully.

  • The verification record is invalid.

  • Unauthorized

  • Forbidden

  • The identity does not exist.

DELETE /api/my-account/identities/{target}
curl \
 -X DELETE https://[tenant_id].logto.app/api/my-account/identities/{target} \
 -H "Authorization: Bearer $ACCESS_TOKEN"