Creates a new schedule rotation user from provided data
curl --request POST \
--url https://api.rootly.com/v1/schedule_rotations/{schedule_rotation_id}/schedule_rotation_users \
--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": "fcb3aea9-f80f-4490-9e34-6928526d0a67",
"type": "schedule_rotation_users",
"attributes": {
"schedule_rotation_id": "22ec6e1a-7d88-48a9-aa47-a2ce372c3ddf",
"user_id": 521,
"position": 2,
"created_at": "2025-12-22T14:56:59.952-08:00",
"updated_at": "2025-12-22T14:56:59.952-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
schedule_rotation_user created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/schedule_rotations/{schedule_rotation_id}/schedule_rotation_users \
--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": "fcb3aea9-f80f-4490-9e34-6928526d0a67",
"type": "schedule_rotation_users",
"attributes": {
"schedule_rotation_id": "22ec6e1a-7d88-48a9-aa47-a2ce372c3ddf",
"user_id": 521,
"position": 2,
"created_at": "2025-12-22T14:56:59.952-08:00",
"updated_at": "2025-12-22T14:56:59.952-08:00"
}
}
}