# Change the origins

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

## Parameters

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

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "origins": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "type": "string",
        "format": "uri"
      },
      "description": "One to twenty https origins, no path."
    },
    "name": {
      "type": "string",
      "description": ""
    }
  },
  "required": [
    "origins"
  ]
}
```

## Responses

- `200`: Changed

## Example

```sh
curl -X PUT 'https://shield.praecise.com/sites/{site}' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "origins": [
    "https://example.com"
  ]
}'
```
