Skip to content
Menu
SilktideDevelopers

Delete a website and everything in it

DELETE/v1/websites/{websiteId}
View as Markdown

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 1

    The website.

Response

201No body.

Errors

StatusTypeWhen
404ModelNotFoundNothing with that id exists in the account, or the API key's user cannot see it.
403AccessDeniedThe API key's user cannot admin this website.
401NotLoggedInNo API key was sent, or it is not a key for this region.(any operation)
429TooManyRequestsToo 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.

This changes your account. It is not a sandbox.