Delete primary phone

DELETE /api/my-account/primary-phone

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

Responses

  • 204

    The primary phone was deleted successfully.

  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

DELETE /api/my-account/primary-phone
curl \
 --request DELETE 'https://[tenant_id].logto.app/api/my-account/primary-phone' \
 --header "Authorization: Bearer $ACCESS_TOKEN"