Remove an on-call event
Delete an on-call event or an override. Deleting an override puts back the shifts it covered. Deleting a shift leaves nobody on call for its time. On a schedule synced from an external calendar, only overrides can be deleted.
Manage on-call with a rotation
Deleting a shift removes the schedule's rotation configuration, and no new shifts are generated. The other shifts stay in place. Set up a rotation with Terraform or Replace an on-call schedule rotation.
ID of the on-call schedule. Also accepts default, your team's default schedule.
ID of the on-call event.
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Bearer $TOKEN
{
"errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
{
"errors": "This API token is read-only and cannot be used for write operations."
}
{
"errors": "This schedule is synced from an external calendar. Edit the event in that calendar to change who's on-call."
}
The on-call event is deleted. The response has no body.
The API token is missing or invalid.
The token is read-only, your role doesn't allow the action, or the token can't be used for this API.
The on-call event doesn't exist, or the token can't access it.
The event ended before 00:00 UTC today and can no longer be changed.
The event is a shift on a schedule synced from an external calendar. The next sync would bring it back.
Example cURL