---
title: "Cancel a relay lease"
method: DELETE
path: "/v1/relay/{id}"
---

# Cancel a relay lease

`DELETE /v1/relay/{id}`

## Request

- Base URL: `https://volai.cz`
- URL: `https://volai.cz/v1/relay/{id}`
- Auth: HTTP bearer

Releases the lease and returns the slot to the pool, as long as it's still waiting for its first call (pending). It does not end a call in progress - no API can do that today (not the phone network, not ElevenLabs) - a lease like that (active) just runs its course; this only stops that same lease from being used again.

## Path parameters

- `id` string, required

## Response `200`

Cancelled

- object
  - `cancelled` true, required

## Other responses

- `401`: Error codes: unauthorized (request).
- `403`: Error codes: account_suspended (account).
- `404`: Error codes: lease_not_found (account).
- `409`: Error codes: lease_already_active (account).
- `429`: Error codes: rate_limited (busy).
- `500`: Error codes: internal_error (service).

---

[API](https://skmtc.dev/volai/apis/volai-rest-api.md) · [All operations](https://skmtc.dev/volai/apis/volai-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/volai/apis/volai-rest-api/revisions/12029b05e2fa?raw)
