# prov.account.setCaptureListLabel

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

## Signature

```ts
prov.account.setCaptureListLabel(params: { label: string | null }): Promise<CaptureListLabel>
```

## Parameters

- `params` ({ label: string | null })

## Returns

`Promise<CaptureListLabel>`

## 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()
```
