Alerting & Response/On-Call
PUTOnCallSince 1.0SynchronousAuth Required
UpdateOnCallSchedule
Update an existing on-call schedule's configuration or members
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredUUID of the schedule to update
Body Fields
nameStringRequiredUpdated name for the schedule
Example: my-resource
descriptionStringRequiredUpdated description for the schedule
Example: A brief description
timezoneStringRequiredUpdated IANA timezone name
Example: value
shiftDurationStringRequiredUpdated shift duration as a Go duration string
Example: value
membersListRequiredUpdated ordered list of members for the rotation
Example: (nested array)
userIdStringUser identifier of the on-call member
Example: user-abc123
userNameStringDisplay name of the on-call member
Example: Alice Smith
orderIntegerRotation order position of the member within the schedule
Example: 1
Responses
Endpoint
PUT/api/v1/oncall/schedules/{uuid}
/api/v1/oncall/schedules/{uuid}
Request Example
curl -X PUT '{host}/api/v1/oncall/schedules/{uuid}' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"name":"my-resource","description":"A brief description","timezone":"value","shiftDuration":"value","members":"(nested array)"}'
Response Example
200{
"uuid": "sched-00112233",
"name": "Platform On-Call",
"description": "24x7 platform on-call rotation",
"timezone": "Asia/Shanghai",
"rotationType": "weekly",
"shiftDuration": "168h",
"members": [
{}
],
"startDate": "example"
}Change History
This API has no change history records yet.
