Delete primary email

DELETE /api/my-account/primary-email

Delete primary email for the user, a verification-record-id in header is required for checking sensitive permissions.

Responses

DELETE /api/my-account/primary-email
curl \
 -X DELETE https://[tenant_id].logto.app/api/my-account/primary-email \
 -H "Authorization: Bearer $ACCESS_TOKEN"