Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
user_phone_number updated without verification when feature disabled
Updates a user phone number
curl --request PUT \
--url https://api.rootly.com/v1/phone_numbers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "user_phone_numbers",
"attributes": {
"phone": "<string>"
}
}
}'{
"data": {
"id": "e73a5471-574c-46b6-bb0b-1dfb3599c884",
"type": "user_phone_numbers",
"attributes": {
"user_id": 561,
"phone": "+14155553000",
"primary": true,
"created_at": "2025-11-06T13:30:55.244-08:00",
"updated_at": "2025-11-06T13:30:55.405-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
user_phone_number updated without verification when feature disabled
Show child attributes
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/phone_numbers/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "user_phone_numbers",
"attributes": {
"phone": "<string>"
}
}
}'{
"data": {
"id": "e73a5471-574c-46b6-bb0b-1dfb3599c884",
"type": "user_phone_numbers",
"attributes": {
"user_id": 561,
"phone": "+14155553000",
"primary": true,
"created_at": "2025-11-06T13:30:55.244-08:00",
"updated_at": "2025-11-06T13:30:55.405-08:00"
}
}
}