# Remove website key public access

Source: https://docs.vlayers.ai/reference/public-access/delete-binding-public-access

`DELETE /v1/public-access/settings/bindings/{bindingId}` · scope `public_access:write`

Removes a website key's row, which turns public access off for that key.

Requires an API key with the `public_access:write` scope.

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `bindingId` | path | string | yes | The website key Binding id. Example: `"0192f5a9-2b3c-7d4e-9f5a-6b7c8d9e0f12"` |
| `if-match` | header | string | no | The `version` of the row this edit was made from. A stale one is refused with 409 `version_conflict` instead of overwriting a newer change. Leave it out when creating a row. Example: `"3"` |

## Request

cURL:

```bash
curl -X DELETE "https://api.vlayers.ai/v1/public-access/settings/bindings/$BINDING_ID" \
  -H "Authorization: Bearer $VOICELAYER_API_KEY"
```

TypeScript:

```ts
import { VoiceLayer } from '@voicelayer/api';

const voicelayer = new VoiceLayer();

await voicelayer.publicAccess.removeKey('<binding-id>');
```

Python:

```python
from voicelayer import VoiceLayer

vl = VoiceLayer()

vl.publicAccess.remove_key("<binding-id>")
```
