Update a specific schedule rotation user by id
curl --request PUT \
--url https://api.rootly.com/v1/schedule_rotation_users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "schedule_rotation_users",
"attributes": {
"user_id": 123,
"position": 123
}
}
}'
{
"data": {
"id": "c59235ec-598c-4f95-94a2-39ebf9663311",
"type": "schedule_rotation_users",
"attributes": {
"schedule_rotation_id": "19467dab-9e37-4791-8e61-dcfac3fe0fec",
"user_id": 425,
"position": 2,
"created_at": "2025-09-03T02:25:21.629-07:00",
"updated_at": "2025-09-03T02:25:21.635-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
schedule_rotation_user updated
The response is of type object
.
curl --request PUT \
--url https://api.rootly.com/v1/schedule_rotation_users/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "schedule_rotation_users",
"attributes": {
"user_id": 123,
"position": 123
}
}
}'
{
"data": {
"id": "c59235ec-598c-4f95-94a2-39ebf9663311",
"type": "schedule_rotation_users",
"attributes": {
"schedule_rotation_id": "19467dab-9e37-4791-8e61-dcfac3fe0fec",
"user_id": 425,
"position": 2,
"created_at": "2025-09-03T02:25:21.629-07:00",
"updated_at": "2025-09-03T02:25:21.635-07:00"
}
}
}