---
title: "Delete third-party VAST tracking events — placement"
type: reference
method: DELETE
path: /rest-api/placement/{id}/vast/tracking-events.do
tag: "VAST"
---

# Delete third-party VAST tracking events — placement

`DELETE https://YOUR-NETWORK-DOMAIN/rest-api/placement/{id}/vast/tracking-events.do`

Permanently deletes one or more third-party tracking event pixels by their IDs for the specified entity. The request body must contain a JSON array of numeric event IDs to delete (obtainable from the GET tracking-events endpoint). The caller must have update permissions on the entity. Returns a JSON object with a 'success' boolean indicating whether the deletion succeeded.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `id` | integer | yes | `5001` | The unique numeric identifier of the entity to delete third-party tracking events from |

## Body

A JSON body. An example, built from the field definitions:

```json
[
  1
]
```

## Responses

- `200` — Third-party tracking events deleted successfully
- `400` — Entity is not a video placement
- `401` — Authentication error
- `403` — Not enough permissions
- `404` — One of the ids is not a tracking event of this entity; the message names it and nothing is deleted

## Example request

```bash
curl --request DELETE \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/placement/5001/vast/tracking-events.do' \
  --header 'X-Api-Key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '[
  1
]'
```

Source: https://epom.com/ad-server/docs/api/vast/delete-placement-vast-tracking-events