PUT
/
v1
/
phone_numbers
/
{id}
Update 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": "5a59b5ad-db97-4b69-891c-d9a5d50f0526",
    "type": "user_phone_numbers",
    "attributes": {
      "user_id": 513,
      "phone": "+14155553000",
      "primary": true,
      "created_at": "2025-09-26T17:30:16.829-07:00",
      "updated_at": "2025-09-26T17:30:16.928-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

user_phone_number updated without verification when feature disabled

data
object
required