---
title: "Delete campaign piggyback"
type: reference
method: DELETE
path: /rest-api/piggyback/campaign/{id}.do
tag: "Piggybacks"
---

# Delete campaign piggyback

`DELETE https://YOUR-NETWORK-DOMAIN/rest-api/piggyback/campaign/{id}.do`

Permanently deletes a specific piggyback tracking pixel identified by its unique ID. The piggyback is removed from the campaign and will no longer fire during ad serving. The caller must have update permissions on the parent campaign and the Piggyback Pixel Tracking permission. Returns a JSON object with a 'success' boolean indicating whether the deletion succeeded.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `id` | integer | yes | `701` | The unique numeric identifier of the piggyback tracking pixel to delete |

## Responses

- `200` — Campaign piggyback deleted successfully
- `400` — Bad request — invalid or missing parameters
- `401` — Unauthorized - authentication error
- `403` — Forbidden - no rights on the campaign, or the Piggyback Pixel Tracking permission is not enabled
- `404` — Not found — resource does not exist
- `500` — Internal server error

## Example request

```bash
curl --request DELETE \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/piggyback/campaign/701.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/piggybacks/delete-piggyback-campaign