> ## 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.

# Delete a site

> Delete a site

### Path parameters

**id** `string` *required*

Site id

### Response

`Ok`

**ok** `boolean` *required*

### Status codes

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

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

```json 200 theme={null}
{
  "ok": true
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.