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": "2191ef4c-2472-4cc9-9355-8d8fa1be9e90",
    "type": "schedule_rotation_users",
    "attributes": {
      "schedule_rotation_id": "24bd0c5d-872d-4f1f-bd29-97d449c5b006",
      "user_id": 436,
      "position": 2,
      "created_at": "2025-03-22T23:04:44.323-07:00",
      "updated_at": "2025-03-22T23:04:44.329-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
data
object
required

Response

200
application/vnd.api+json
schedule_rotation_user updated
data
object
required