Authorizations
Path Parameters
Body
application/vnd.api+json
Update a specific user by id
curl --request PUT \
--url https://api.rootly.com/v1/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "users",
"attributes": {
"first_name": "<string>",
"last_name": "<string>",
"role_id": "<string>",
"on_call_role_id": "<string>"
}
}
}'{
"data": {
"id": "568",
"type": "users",
"attributes": {
"name": "New Name",
"email": "[email protected]",
"phone": null,
"phone_2": null,
"first_name": "New",
"last_name": "Name",
"full_name": "New Name",
"full_name_with_team": "[Dare-Koch] New Name",
"slack_id": null,
"time_zone": "Etc/UTC",
"updated_at": "2025-12-01T14:23:52.533-08:00",
"created_at": "2025-12-01T14:23:44.407-08:00"
},
"relationships": {
"email_addresses": {
"data": [
{
"id": "085d301c-9f19-47f5-8e5e-b5b652db6fbf",
"type": "user_email_addresses"
}
]
},
"phone_numbers": {
"data": []
},
"devices": {
"data": []
},
"role": {
"data": {
"id": "179f1fc8-fc45-4322-8324-3632bc25896d",
"type": "roles"
}
},
"on_call_role": {
"data": {
"id": "f7e5a614-0fbb-4a1f-8333-cf02c3f1e392",
"type": "on_call_roles"
}
},
"teams": {
"data": []
},
"schedules": {
"data": []
},
"notification_rules": {
"data": [
{
"id": "6fb1452a-402b-4ea4-994b-8c6845dcb767",
"type": "user_notification_rules"
},
{
"id": "77d8a1ca-03d8-438b-b133-15fb08a834c1",
"type": "user_notification_rules"
}
]
}
}
}
}Show child attributes
Show child attributes
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "users",
"attributes": {
"first_name": "<string>",
"last_name": "<string>",
"role_id": "<string>",
"on_call_role_id": "<string>"
}
}
}'{
"data": {
"id": "568",
"type": "users",
"attributes": {
"name": "New Name",
"email": "[email protected]",
"phone": null,
"phone_2": null,
"first_name": "New",
"last_name": "Name",
"full_name": "New Name",
"full_name_with_team": "[Dare-Koch] New Name",
"slack_id": null,
"time_zone": "Etc/UTC",
"updated_at": "2025-12-01T14:23:52.533-08:00",
"created_at": "2025-12-01T14:23:44.407-08:00"
},
"relationships": {
"email_addresses": {
"data": [
{
"id": "085d301c-9f19-47f5-8e5e-b5b652db6fbf",
"type": "user_email_addresses"
}
]
},
"phone_numbers": {
"data": []
},
"devices": {
"data": []
},
"role": {
"data": {
"id": "179f1fc8-fc45-4322-8324-3632bc25896d",
"type": "roles"
}
},
"on_call_role": {
"data": {
"id": "f7e5a614-0fbb-4a1f-8333-cf02c3f1e392",
"type": "on_call_roles"
}
},
"teams": {
"data": []
},
"schedules": {
"data": []
},
"notification_rules": {
"data": [
{
"id": "6fb1452a-402b-4ea4-994b-8c6845dcb767",
"type": "user_notification_rules"
},
{
"id": "77d8a1ca-03d8-438b-b133-15fb08a834c1",
"type": "user_notification_rules"
}
]
}
}
}
}