Curator API: Delete an Ad
DELETE https://api.curator.io/v1.3/ads/AD_ID deletes an ad. The request needs your API key, and your plan must include API access. Only HTTPS is supported.
Authentication
Send your Curator API key (find it in the Curator Dashboard) in one of three ways: as a query string (?api_key=API_KEY), as a Basic auth header with the API key as the username, or as a Bearer token (Authorization: Bearer API_KEY, with Bearer capitalised). You can only delete ads in the account the key belongs to.
Example request
curl -X DELETE "https://api.curator.io/v1.3/ads/AD_ID" \
-H "Authorization: Bearer API_KEY"Parameters
Parameter | Description |
|---|---|
| The ad's |
Response
A successful delete returns:
{ "data": null, "meta": { "success": true, "message": "Ad deleted" } }The feed's cached responses are cleared, so the ad disappears straight away.
Errors
Status | When | Body |
|---|---|---|
401 | The API key is missing or not valid. |
|
403 | Your plan does not include API access. |
|
403 | The ad belongs to another account. |
|
404 | No ad has that ID, or it was already deleted. |
|
429 | When rate limiting is enabled, more than 60 requests per minute. |
|