Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
update name and role simultaneously
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": "dante_schmitt@moen-watsica.example",
"phone": null,
"phone_2": null,
"first_name": "New",
"last_name": "Name",
"full_name": "New Name",
"full_name_with_team": "[Stoltenberg and Sons] New Name",
"slack_id": null,
"time_zone": "Etc/UTC",
"updated_at": "2025-11-20T15:58:55.405-08:00",
"created_at": "2025-11-20T15:58:47.913-08:00"
},
"relationships": {
"email_addresses": {
"data": [
{
"id": "acca2467-640b-445e-89b8-c734f3e46cdc",
"type": "user_email_addresses"
}
]
},
"phone_numbers": {
"data": []
},
"devices": {
"data": []
},
"role": {
"data": {
"id": "a3038a79-7c8b-4bdd-94b3-8683455848a5",
"type": "roles"
}
},
"on_call_role": {
"data": {
"id": "1fd6aa88-e38d-4381-ae39-67e275b656ff",
"type": "on_call_roles"
}
},
"teams": {
"data": []
},
"schedules": {
"data": []
},
"notification_rules": {
"data": [
{
"id": "7b27095a-260e-4d3e-baf7-0ed3e95cedcd",
"type": "user_notification_rules"
},
{
"id": "23623df4-62f0-4a4d-b8d8-01e737a4e9d0",
"type": "user_notification_rules"
}
]
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
update name and role simultaneously
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": "dante_schmitt@moen-watsica.example",
"phone": null,
"phone_2": null,
"first_name": "New",
"last_name": "Name",
"full_name": "New Name",
"full_name_with_team": "[Stoltenberg and Sons] New Name",
"slack_id": null,
"time_zone": "Etc/UTC",
"updated_at": "2025-11-20T15:58:55.405-08:00",
"created_at": "2025-11-20T15:58:47.913-08:00"
},
"relationships": {
"email_addresses": {
"data": [
{
"id": "acca2467-640b-445e-89b8-c734f3e46cdc",
"type": "user_email_addresses"
}
]
},
"phone_numbers": {
"data": []
},
"devices": {
"data": []
},
"role": {
"data": {
"id": "a3038a79-7c8b-4bdd-94b3-8683455848a5",
"type": "roles"
}
},
"on_call_role": {
"data": {
"id": "1fd6aa88-e38d-4381-ae39-67e275b656ff",
"type": "on_call_roles"
}
},
"teams": {
"data": []
},
"schedules": {
"data": []
},
"notification_rules": {
"data": [
{
"id": "7b27095a-260e-4d3e-baf7-0ed3e95cedcd",
"type": "user_notification_rules"
},
{
"id": "23623df4-62f0-4a4d-b8d8-01e737a4e9d0",
"type": "user_notification_rules"
}
]
}
}
}
}