# Remove on-call schedule

Permanently deletes an existing on-call schedule.

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/on-calls/{schedule_id}"
method = "DELETE"

[[path_param]]
name = "schedule_id"
description = "The ID of the schedule you want to delete"
required = true
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 204
description = '''Returns empty body'''
body = ''''''

[/responses]

#### Example cURL 

```shell
[label Example]
curl --request DELETE \
  --url https://uptime.betterstack.com/api/v2/on-calls/56 \
  --header "Authorization: Bearer $TOKEN"
```

[info]
#### Looking for details of a specific parameter?
Explore [the list of all on-call schedule API response parameters](https://betterstack.com/docs/uptime/api/on-call-calendar-api-response-params/)
[/info]
