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)requiredIn the path
- pagestring (uuid)requiredIn the path
- confirmstringIn the query
- translationsstringIn the query
Responses
- 200application/jsonSuccess
- 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