Overview
Reference
- AlertEvents
- AlertGroups
- AlertUrgencies
- AlertSources
- Alerts
- Audits
- Authorizations
- CatalogEntities
- CatalogEntityProperties
- CatalogFields
- Catalogs
- Causes
- [DEPRECATED] CustomFieldOptions
- [DEPRECATED] CustomFields
- CustomForms
- DashboardPanels
- Dashboards
- Environments
- EscalationPolicies
- EscalationLevelsPolicies
- EscalationLevelsPath
- EscalationLevels
- EscalationPaths
- FormFieldOptions
- FormFieldPlacementConditions
- FormFieldPlacements
- FormFieldPositions
- FormFields
- FormSetConditions
- FormSets
- Functionalities
- WorkflowTasks
- [DEPRECATED] WorkflowCustomFieldSelections
- WorkflowFormFieldConditions
- WorkflowGroups
- WorkflowRuns
- Workflows
- Heartbeats
- IncidentActionItems
- [DEPRECATED] IncidentCustomFieldSelections
- IncidentEventFunctionalities
- IncidentEventServices
- IncidentEvents
- IncidentFeedbacks
- IncidentFormFieldSelections
- IncidentPermissionSetBooleans
- IncidentPermissionSetResources
- IncidentPermissionSets
- IncidentRetrospectives
- IncidentRetrospectiveSteps
- IncidentRoleTasks
- IncidentRoles
- IncidentStatusPageEvents
- IncidentSubStatuses
- IncidentTypes
- Incidents
- IpRanges
- LiveCallRouters
- OnCallRoles
- OnCallShadows
- OverrideShifts
- PlaybookTasks
- Playbooks
- RetrospectiveTemplates
- Pulses
- RetrospectiveConfigurations
- RetrospectiveProcessGroupSteps
- RetrospectiveProcessGroups
- RetrospectiveProcesses
- RetrospectiveSteps
- Roles
- ScheduleRotationActiveDays
- ScheduleRotationUsers
- ScheduleRotations
- Schedules
- Shifts
- Secrets
- Services
- Severities
- StatusPageTemplates
- StatusPages
- SubStatuses
- Teams
- UserNotificationRules
- Users
- WebhooksDeliveries
- WebhooksEndpoints
ScheduleRotationUsers
Creates a schedule rotation user
ScheduleRotationUsers
Creates a schedule rotation user
Creates a new schedule rotation user from provided data
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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
201
application/vnd.api+json
schedule_rotation_user created
Unique ID of the schedule rotation user
Available options:
schedule_rotation_users
Schedule rotation user
Position of the user inside rotation
Date of creation
Date of last update
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"
}
}
}