# prov.attest.capture_requests.cancel_reminder

prov.attest.capture_requests.cancel_reminder in Python SDK. Cancel a reminder held until quiet hours end, before it goes (`reminders.scheduled.id`).

## Signature

```python
prov.attest.capture_requests.cancel_reminder(request_id: str, reminder_id: str) -> Any
```

## Parameters

- `request_id` (str)
- `reminder_id` (str)

## Returns

`Any`

## HTTP operation

[`DELETE /v1/attest/capture_requests/{id}/reminders/{reminder_id}`](https://provenanceauth.com/docs/api/capture-requests.md#delete-v1-attest-capture-requests-id-reminders-reminder-id): Cancel a held reminder

## Errors

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

## Example

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/capture_requests/capr_01JCWZ7M3KQ9X2V4B7N8D5F6GH/reminders/rem_01JCX9B4R7P2K6M9T3W8Y5Q1HS`, {
  method: "DELETE",
  headers: { Authorization: "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.delete(f"{api}/v1/attest/capture_requests/capr_01JCWZ7M3KQ9X2V4B7N8D5F6GH/reminders/rem_01JCX9B4R7P2K6M9T3W8Y5Q1HS", headers={"Authorization": "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x"}).json()
```
