---
title: "Delete PMP deals"
type: reference
method: POST
path: /rest-api/campaign/pmp-deals/delete.do
tag: "PMP Deals"
---

# Delete PMP deals

`POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/pmp-deals/delete.do`

Permanently deletes one or more Private Marketplace deal records by their internal numeric IDs. Pass one or more IDs as repeated query parameters (e.g. ?ids=1&ids=2). Deleted deals are immediately removed from the campaign and will no longer appear in OpenRTB bid requests. Requires standard REST API authentication.

## Form params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `ids` | array<integer> | yes | `101` | One or more internal numeric IDs of the PMP deal records to permanently delete |

## Responses

- `200` — PMP deals deleted successfully
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — Forbidden — insufficient permissions

## Example request

```bash
curl --request POST \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/campaign/pmp-deals/delete.do' \
  --header 'X-Api-Key: YOUR_API_KEY' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'ids=101'
```

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