
# Retire Field

```
DELETE /api/v1/fields/:id
```

Retires a field: it stops appearing on records and takes no new values, while its past values and history stay readable. Retiring a retired field changes nothing.

CLI: [`fob-mdm fields delete`](/docs/cli/fields#fields-delete)

## Path Parameters

| Parameter | Type | Description |
|---|---|---|
| `id` | number | Field id |

## Example Request

```bash
curl -X DELETE "https://mdm.finopsbricks.com/api/v1/fields/11" \
  -H "api-key: $MDM_API_KEY" \
  -H "api-secret: $MDM_API_SECRET"
```

## Response

`204 No Content` with no body.

## Errors

| Status | Code | When |
|---|---|---|
| 401 | `UNAUTHORIZED` | Missing, wrong or expired API credentials |
| 403 | `FORBIDDEN` | The key lacks `fields:delete` permission |
| 404 | `NOT_FOUND` | No such field in your organization |

See [Errors](/docs/api/errors) for the envelope.
