POST
/
v1
/
schedule_rotations
/
{schedule_rotation_id}
/
schedule_rotation_users
curl --request POST \
  --url https://api.rootly.com/v1/schedule_rotations/%7Bschedule_rotation_id%7D/schedule_rotation_users \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": {
    "id": "118d3b88-bfdc-48e0-971e-7b3da2a3df96",
    "type": "schedule_rotation_users",
    "attributes": {
      "schedule_rotation_id": "56eca11d-8788-4905-8dc2-df04cfa88efd",
      "user_id": 426,
      "position": 2,
      "created_at": "2025-03-11T19:14:56.627-07:00",
      "updated_at": "2025-03-11T19:14:56.627-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

schedule_rotation_id
string
required

Body

application/vnd.api+json
data
object

Response

201
application/vnd.api+json
schedule_rotation_user created
data
object
required