---
title: "Delete site country pricing"
type: reference
method: DELETE
path: /rest-api/sites/{siteId}/pricing/{countryCode}.do
tag: "Sites"
---

# Delete site country pricing

`DELETE https://YOUR-NETWORK-DOMAIN/rest-api/sites/{siteId}/pricing/{countryCode}.do`

Removes a country-specific price override from the given site's fixed pricing model. The site must already have fixed pricing configured. Optionally specify an actionId to target per-action country pricing; it must name an action the caller can see in the console's action list (a deleted one is accepted, so its leftover price can be removed). The code is case-insensitive, and GB reaches the price stored under UK. Requires ENABLED level on SITE_PAYMENT_MODEL permission.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `siteId` | integer | yes | `5001` | Unique numeric ID of the site |
| `countryCode` | string | yes | `US` | 2-letter ISO 3166 country code (e.g. US, GB, DE) |

## Form params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `actionId` | integer | no | `42` | ID of the action for per-action pricing, or null for default pricing |

## Responses

- `200` — Country pricing deleted successfully
- `400` — Invalid request parameters or site/country not found
- `401` — Authentication error
- `403` — Insufficient permissions
- `404` — actionId names no action the caller can see, or there is no price for that country (and action) to remove, including on a site without fixed pricing

## Example request

```bash
curl --request DELETE \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/sites/5001/pricing/US.do' \
  --header 'X-Api-Key: YOUR_API_KEY' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'actionId=42'
```

Source: https://epom.com/ad-server/docs/api/sites/delete-sites-pricing