> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Save the draft config

> Body: { config }.

Body: `&#123; config &#125;`.

### Path parameters

<ParamField path="id" type="string" required>
  Site id
</ParamField>

### Response

No response body. OK.

### Status codes

| Code  | Meaning |
| ----- | ------- |
| `200` | OK      |
| `400` | Error   |
| `401` | Error   |
| `404` | Error   |

<RequestExample>
  ```bash cURL theme={null}
  curl --request PUT \
    --url 'https://api.example.com/api/admin/sites/{id}/config' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>
