# Replace the policy. Unknown settings are refused

`PUT /s/{site}/policy` · Praecise Shield for AI · Policy

Replace the policy. Unknown settings are refused.

## Parameters

- `site` (path, required), string: The site id (ai_…).

## Request body

`application/json`

```json
{
  "type": "object"
}
```

## Responses

- `200`: OK
- `400`: OK

## Example

```sh
curl -X PUT 'https://shield-ai.praecise.com/s/{site}/policy' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{}'
```
