Deletes a user phone number
curl --request DELETE \
--url https://api.rootly.com/v1/phone_numbers/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "user_phone_numbers",
"attributes": {
"user_id": 123,
"phone": "<string>",
"primary": true,
"verified_at": "2023-11-07T05:31:56Z",
"verification_attempts_today": 123,
"created_at": "<string>",
"updated_at": "<string>"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
user_phone_number deleted
Show child attributes
Unique ID of the phone number
user_phone_numbers Show child attributes
Phone number in international format
Whether this is the primary phone number
Date when phone number was verified
Number of verification attempts made today
Date of creation
Date of last update
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/phone_numbers/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "user_phone_numbers",
"attributes": {
"user_id": 123,
"phone": "<string>",
"primary": true,
"verified_at": "2023-11-07T05:31:56Z",
"verification_attempts_today": 123,
"created_at": "<string>",
"updated_at": "<string>"
}
}
}