View as Markdown

SDK reference · Python SDK

prov.account.delete_text_consent_screenshot

prov.account.delete_text_consent_screenshot in Python SDK. Slice 6: delete a screenshot; a review it was already sent to stops showing it.

Signature

prov.account.delete_text_consent_screenshot(screenshot_id: str) -> Any

Parameters

screenshot_idstrRequired

Request fields

idstringpathRequired
The screenshot's id (tcss_…).

Returns

Any The screenshot was deleted.

HTTP operation

DELETE /v1/account/text_consent/screenshots/{id}: Delete an opt-in screenshot

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/account/text_consent/screenshots/tcss_01M7F2K9QW3C8V5X1TZB4RXN6D`, {
  method: "DELETE",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.