
# Delete Integration

```
DELETE /api/v1/integrations/:id
```

Deletes the integration with its record links, conformance contracts, conformance state and enforcement log. Golden records aren't touched.

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

## Path Parameters

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

## Example Request

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

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