PUT
/
v1
/
schedule_rotation_users
/
{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": "494235bc-76d5-4ad0-9368-14c0ec0d5f20",
    "type": "schedule_rotation_users",
    "attributes": {
      "schedule_rotation_id": "1c0e3393-32d6-4813-b604-41ac26bb5f2c",
      "user_id": 408,
      "position": 2,
      "created_at": "2025-07-03T18:36:28.020-07:00",
      "updated_at": "2025-07-03T18:36:28.025-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.