---
title: "Disable PMP deals for campaign"
type: reference
method: POST
path: /rest-api/campaign/{campaignId}/pmp-deals/disable.do
tag: "PMP Deals"
---

# Disable PMP deals for campaign

`POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/pmp-deals/disable.do`

Switches PMP deals off for the campaign. The deals are kept but no longer sent in bid requests until the switch is turned on again. Requires the RTB_PMP_DEALS permission and UPDATE access to the campaign's advertiser.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `campaignId` | integer | yes | `2001` | Numeric ID of the campaign |

## Responses

- `200` — PMP deals disabled; pmpDealsEnabled echoes the new state
- `400` — Malformed campaign ID
- `401` — Authentication error
- `403` — Not enough permissions
- `404` — Campaign not found or deleted

## Example request

```bash
curl --request POST \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/campaign/2001/pmp-deals/disable.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/pmp-deals/post-campaign-pmp-deals-disable