---
title: "Delete per-action limits"
type: reference
method: POST
path: /rest-api/per-action/delete.do
tag: "Limits"
---

# Delete per-action limits

`POST https://YOUR-NETWORK-DOMAIN/rest-api/per-action/delete.do`

Permanently deletes one or more per-action conversion limit objects identified by their IDs for the specified entity type and entity ID. Once deleted, the affected actions will no longer have independent conversion caps and ad serving for those actions will be uncapped. The entity ID is required to verify ownership and permissions before deletion; every id must be a limit of that entity, otherwise nothing is deleted. The entity type must be one of BANNER, CAMPAIGN, ADVERTISER, PLACEMENT, or SITE.

## Form params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `entityId` | integer | yes | `2001` | Unique numeric identifier of the parent entity (banner, campaign, advertiser, placement, or site) that owns the action limits being deleted |
| `ids` | array<integer> | yes | `1` | Comma-separated list of per-action limit IDs to delete. Each ID corresponds to a specific action limit record |
| `type` | string | yes | `CAMPAIGN` | Type of the parent entity. Must be one of: BANNER, CAMPAIGN, ADVERTISER, PLACEMENT, SITE |

## Responses

- `200` — Per-action limits deleted successfully
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — The role lacks the permission the message names, or the entity is not yours to change
- `404` — One of the ids is not a per-action limit of this entity; the message names it

## Example request

```bash
curl --request POST \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/per-action/delete.do' \
  --header 'X-Api-Key: YOUR_API_KEY' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'entityId=2001' \
  --data-urlencode 'ids=1' \
  --data-urlencode 'type=CAMPAIGN'
```

Source: https://epom.com/ad-server/docs/api/limits/post-per-action-delete