Second step
delete/hosting/sites/{id}/data/erase
Second step: present the token. The site's stored data and backups are removed; the export stays 30 days.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:admin- Graphql
Mutation.hostingDataEraseConfirm- Sdk
hosting.data.eraseConfirm- Cli
hosting data erase confirm- Events
hosting.erased
Parameters
- idstring (uuid)requiredIn the path
- tokenstringrequiredIn the query
Responses
- 200application/jsonSuccess
- erasedstringrequiredOne of: database, storage, data, site.
- exportIdstringrequired
- erasedstringrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring