# Unlink a Record

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

Removes one record link. A later pull links the app record again if its identity value matches a golden record. Needs `integrations:edit`.

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

## Path Parameters

| Parameter | Type | Description |
|---|---|---|
| `id` | number | Integration id |
| `lookup` | number | Link id, from [List Record Links](/docs/api/endpoints/integrations/lookups) |

## Example Request

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

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