Delete a site
Permanently deletes the site and all associated sitemaps, boosts, and run history. This action is irreversible.
DELETE
/v1/sites/{id}
Requires scope: sites:write
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
integer | Required | Site ID. |
Example request
curl -X DELETE https://api.cache-boost.com/v1/sites/42 \
-H "Authorization: Bearer cb_live_YOUR_KEY"
Response
Returns 204 No Content with no response body.
Deleting a site permanently removes all associated sitemaps, boosts, and run history.
Errors
| Code | Description |
|---|---|
401 | Missing or invalid API key. |
403 | Insufficient scope or access denied. |
404 | Site not found. |