> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.taigabilling.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.taigabilling.com/_mcp/server.

# Delete contract

DELETE https://api.taigabilling.com/api/contracts/v3/{contract_id}

Reference: https://docs.taigabilling.com/api-reference/contracts-v-3/contracts-v-3-delete

## Authentication

- `Authorization` header (bearer token, required) — Send your Taiga API key as a Bearer token. Create and manage keys in the Taiga developer portal.

## Servers

- `https://api.taigabilling.com` (Production, default)
- `https://api-staging.taigabilling.com` (Staging)

## Request

### Path parameters

- `contract_id` (string, required)

## Errors

### 422 Unprocessable Entity Error

- `Contracts_v3_deleteRequestUnprocessableEntityError`
  - ContractsV3DeleteRequestUnprocessableEntityError0

## Types

### ContractsV3DeleteRequestUnprocessableEntityError0

- `errorName` (enum, optional)
  - Allowed values: `ContractIsLinkedToFeeScheduleHttpError`
- `content` (contractsv2ContractIsLinkedToFeeScheduleError, optional)

### contractsv2ContractIsLinkedToFeeScheduleError

- `message` (string, required)

## Examples

**SDK Code**

```python
import requests

url = "https://api.taigabilling.com/api/contracts/v3/contract_id"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.json())
```