Rivier/ Reference/ hosting

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)required
    In the path
  • tokenstringrequired
    In the query

Responses

  • 200application/json
    Success
    • erasedstringrequired
      One of: database, storage, data, site.
    • exportIdstringrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown