SDK reference · Python SDK

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

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

Parameters

request_idstrRequired
reminder_idstrRequired

Request fields

idstringpathRequired
The capture request's ID (capr_…).
reminder_idstringpathRequired
The held reminder's ID (rem_…), from the request's reminders.scheduled.id or its reminders list.

Returns

Any The reminder as it ended.

HTTP operation

DELETE /v1/attest/capture_requests/{id}/reminders/{reminder_id}: Cancel a held reminder

Errors

Example

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

Was this page helpful? Send us feedback

LLM? Read llms.txt.