# RemovePartnerFromCampaign

> Remove a partner from a campaign. Write access, partners toolset, MCP tool remove_partner_from_campaign. Part of the MISSIN public API: call it with an API…

> **Warning:**
> 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 |
|---|---|---|---|---|
| `campaignId` | `UUID!` | yes |  |  |
| `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":"RemovePartnerFromCampaign","variables":{"campaignId":"00000000-0000-0000-0000-000000000000","partnerId":"00000000-0000-0000-0000-000000000000"},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"ae2a934b9693b5175cfa009a31a9c127e5edcbcc0fcce958a40e46a1c07a6e11"}}}'
```

## Document

```graphql
mutation RemovePartnerFromCampaign($campaignId: UUID!, $partnerId: UUID!) { __typename removePartnerFromCampaign( input: {partnerId: $partnerId, campaignId: $campaignId} ) { __typename partnerId userErrors { __typename code field message } } }
```

Source: https://developer.missin.co.uk/reference/partners/remove-partner-from-campaign
