PUT
/
v1
/
schedule_rotation_users
/
{id}
Update schedule rotation user
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": "25531b08-cacb-4ab2-b9e7-cf290d260822",
    "type": "schedule_rotation_users",
    "attributes": {
      "schedule_rotation_id": "a78a0ef6-4c23-452f-be0a-0022f751968c",
      "user_id": 409,
      "position": 2,
      "created_at": "2025-07-24T00:12:12.648-07:00",
      "updated_at": "2025-07-24T00:12:12.657-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

Response

200
application/vnd.api+json

schedule_rotation_user updated

The response is of type object.