Frontend API
Remove a phone number from the current user’s account. Cannot remove the primary phone number unless another phone number is set as primary first.
cURL
curl --request DELETE \ --url https://{deploymentHost}/me/phone-numbers/{id}
200
phone_removed
{ "status": 200, "message": "", "data": { "deleted": true, "id": "phone_987654321" }, "session": { "signin_attempts": [], "signins": [ { "id": "signin_987654321", "user_id": "user_456789123", "created_at": "2024-01-01T12:00:00Z" } ], "signup_attempts": [], "active_signin": { "id": "signin_987654321", "user_id": "user_456789123", "created_at": "2024-01-01T12:00:00Z" } }, "errors": []}
Show child attributes