Rivier/ Reference/ hosting

Delete a page

delete/hosting/sites/{id}/pages/{page}

Delete a page. A page that is live, has translations, sub-pages or links to it answers 409 with what is affected; repeat with ?confirm=1 (and ?translations=keep|delete when it has translations). Unapproved translations that are kept become staff-only.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:admin
Graphql
Mutation.hostingSitePageRemove
Sdk
hosting.sitePage.remove
Cli
hosting site page remove

Parameters

  • idstring (uuid)required
    In the path
  • pagestring (uuid)required
    In the path
  • confirmstring
    In the query
  • translationsstring
    In the query

Responses

  • 200application/json
    Success
    • 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