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": "2c888f26-9d2b-4f85-9b01-cc82062af5bd",
    "type": "schedule_rotation_users",
    "attributes": {
      "schedule_rotation_id": "8e1c64da-581d-4570-9205-dfad0ff77222",
      "user_id": 397,
      "position": 2,
      "created_at": "2025-05-08T00:24:21.645-07:00",
      "updated_at": "2025-05-08T00:24:21.651-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.