# Hosting site page approve translation

`POST /hosting/sites/{id}/pages/{page}/translation/approve` · Rivier · hosting

Let a language version go live with the next release (or withdraw it with approved false). A person only.

- Scope: hosting:write
- Graphql: Mutation.hostingSitePageApproveTranslation
- Sdk: hosting.sitePage.approveTranslation
- Cli: hosting site page approve translation

## Parameters

- `id` (path, required), string
- `page` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "approved": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
```

## 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 POST 'https://api.rivier.ai/hosting/sites/{id}/pages/{page}/translation/approve' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "approved": false
}'
```
