---
title: "Detach a single external service from a backup schedule. Returns `204` when the service was detached, and `404` when it wasn't attached to the schedule."
method: DELETE
path: "/backups/schedules/{id}/services/{service_id}"
tags: ["Backups"]
---

# Detach a single external service from a backup schedule. Returns \`204\` when the service was detached, and \`404\` when it wasn't attached to the schedule.

`DELETE /backups/schedules/{id}/services/{service_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/backups/schedules/{id}/services/{service_id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required
- `service_id` integer, required

## Response `204`

Service detached

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: The service is not attached to this schedule
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 4 breaking
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `404` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-11-03** `0add2fdd114a`: 1 info
  - added the non-success response with the status `404`
- **2026-11-03** `fcfcfae25744`: 1 info
  - removed the non-success response with the status `404`
- **2026-11-03** `af07888c38c0`: 1 info
  - added the non-success response with the status `404`
- **2026-10-05** `4b228ebed583`: 3 info
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `500` status

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/backups/schedules/:id/services/:service_id/delete.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
