# DeletePartner

> Delete a partner with no history; a partner with posts or orders is refused. Irreversible. Write access, partners toolset, MCP tool delete_partner.

> **Warning:**
> Irreversible. This operation removes or replaces something. MCP clients see it with `destructiveHint` set, and an agent should tell you what it will change and wait for your yes.

**Access:** [Write](https://developer.missin.co.uk/get-started/authentication.md#access-levels)

## Variables

| Variable | Type | Required | Accepts | Description |
|---|---|---|---|---|
| `partnerId` | `UUID!` | yes |  |  |

## Call it

```bash curl
curl https://api.missin.co.uk/graphql/v1 \
  -H "Authorization: Bearer $MISSIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operationName":"DeletePartner","variables":{"partnerId":"00000000-0000-0000-0000-000000000000"},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"8db9b676398a6f8eff4ea86ffde70fb9803b45b00764112b3a39641cbb7be34d"}}}'
```

## Document

```graphql
mutation DeletePartner($partnerId: UUID!) { __typename deletePartner(input: {partnerId: $partnerId}) { __typename deletedPartnerId userErrors { __typename code field message } } }
```

Source: https://developer.missin.co.uk/reference/partners/delete-partner
