View as Markdown

SDK reference · Python SDK

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

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

Parameters

labelOptional[str]Required

Request fields

labelstring | nullRequired
The list's label, or null for "Captures".

Returns

Any The label.

HTTP operation

PUT /v1/attest/settings/capture_list: Set your Captures list label

Errors

Example

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();

Was this page helpful? Send us feedback

LLM? Read llms.txt.