# prov.account.set_capture_list_label

prov.account.set_capture_list_label in Python SDK. D-119: name the Captures list in the console (up to 24 characters); `None` puts back "Captures".

## Signature

```python
prov.account.set_capture_list_label(label: Optional[str]) -> Any
```

## Parameters

- `label` (Optional[str])

## Returns

`Any`

## HTTP operation

[`PUT /v1/attest/settings/capture_list`](https://provenanceauth.com/docs/api/account.md#put-v1-attest-settings-capture-list): Set your Captures list label

## Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

## Example

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/settings/capture_list`, {
  method: "PUT",
  headers: { Authorization: "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x", "Content-Type": "application/json" },
  body: JSON.stringify({ "label": "Claim photos" }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.put(f"{api}/v1/attest/settings/capture_list", headers={"Authorization": "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x"}, json={
    "label": "Claim photos"
}).json()
```
