# Delete a page

`DELETE /hosting/sites/{id}/pages/{page}` · Rivier · hosting

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.

- Scope: hosting:admin
- Graphql: Mutation.hostingSitePageRemove
- Sdk: hosting.sitePage.remove
- Cli: hosting site page remove

## Parameters

- `id` (path, required), string
- `page` (path, required), string
- `confirm` (query), string
- `translations` (query), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X DELETE 'https://api.rivier.ai/hosting/sites/{id}/pages/{page}' \
  -H 'Authorization: Bearer $KEY'
```
