# Remove on-call schedule event

Delete a single event from an on-call schedule.

Events starting sooner than today at 0:00 UTC can't be deleted.

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

[[path_param]]
name = "schedule_id"
description = "The ID of the on-call schedule you want to get events for. Use `default` to refer to the default on-call schedule for the team."
required = true
type = "string"

[[path_param]]
name = "event_id"
description = "The ID of the event to return"
required = true
type = "string"

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

[responses]
[[response]]
status = 204
description = '''Event was deleted'''

[/responses]


#### Example cURL 

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