# Rotate the secret

`POST /sites/{site}` · Praecise Shield · Sites

## Parameters

- `site` (path, required), string: The site key (ps_…).

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "rotate": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "rotate"
  ]
}
```

## Responses

- `200`

## Example

```sh
curl -X POST 'https://shield.praecise.com/sites/{site}' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "rotate": true
}'
```
