SDK reference · Python SDK

prov.mandate.approvals.cancel_reminder

prov.mandate.approvals.cancel_reminder in Python SDK. Cancel a held reminder round before it goes.

Signature

prov.mandate.approvals.cancel_reminder(approval_id: str, reminder_id: str) -> Any

Parameters

approval_idstrRequired
reminder_idstrRequired

Request fields

idstringpathRequired
The approval's ID (appr_…).
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/mandate/approvals/{id}/reminders/{reminder_id}: Cancel a held reminder

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/approvals/appr_01M6ZG0DENDP7V1YZC3CG74SWD/reminders/rem_01JCXB3K8M2Q7T4V9W5Y1Z6R0P`, {
  method: "DELETE",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.