
# Delete Object

```
DELETE /api/v1/objects/:id
```

Deletes an object together with all its fields, records, values and history. This can't be undone.

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

## Path Parameters

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

## Example Request

```bash
curl -X DELETE "https://mdm.finopsbricks.com/api/v1/objects/1" \
  -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 `objects:delete` permission |
| 404 | `NOT_FOUND` | No such object in your organization |

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