Delete a website and everything in it
DELETE
/v1/websites/{websiteId}Deletes a website at once, with its sections, results and history. It cannot be undone.
The response is an empty 201. The pages and documents the website held go
back to the account's balance. Deleting it again returns 404.
Request
curl -X DELETE "https://api.eu.silktide.com/v1/websites/6" \
-H "Authorization: silktide token=$SILKTIDE_API_KEY"Request
Path parameters
websiteIdintegerrequiredat least 1The website.
Response
201No body.
Errors
| Status | Type | When |
|---|---|---|
| 404 | ModelNotFound | Nothing with that id exists in the account, or the API key's user cannot see it. |
| 403 | AccessDenied | The API key's user cannot admin this website. |
| 401 | NotLoggedIn | No API key was sent, or it is not a key for this region.(any operation) |
| 429 | TooManyRequests | Too many requests to this path in five seconds. Retry after the number of seconds in the Retry-After header, which properties.retryAfter repeats.(any operation) |
| 503 | - | Silktide is busy. Retry after the number of seconds in the Retry-After header.(any operation) |
Every error has the same body. See Errors.
Access
- Permission
- Can admin this website
- Plan feature
- None
- Edition
- Silktide 4 and Silktide 5
- Cost
- Free
- Available since
- v1.0.0
Try it
Sends a real request to your account from this browser. Your key stays in this tab and goes only to the Silktide API.