# 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

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

## Parameters

- `screenshot_id` (str)

## Returns

`Any`

## HTTP operation

[`DELETE /v1/account/text_consent/screenshots/{id}`](https://provenanceauth.com/docs/api/account.md#delete-v1-account-text-consent-screenshots-id): Delete an opt-in screenshot

## Errors

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

## Example

**Node**

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

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.delete(f"{api}/v1/account/text_consent/screenshots/tcss_01M7F2K9QW3C8V5X1TZB4RXN6D", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()
```
