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}
curl \
--request DELETE 'https://[tenant_id].logto.app/api/my-account/identities/{target}' \
--header "Authorization: Bearer $ACCESS_TOKEN"