SDK reference · Python SDK

prov.mandate.calls.revoke

prov.mandate.calls.revoke in Python SDK.

Signature

prov.mandate.calls.revoke(call_id: str) -> Any

Parameters

call_idstrRequired

Request fields

idstringpathRequired
The call's ID (call_).

Returns

Any The revoked call.

HTTP operation

POST /v1/mandate/calls/{id}/revoke: Revoke a call

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/mandate/calls/call_01M6XS88NJNFX99RMN570B7MY2/revoke`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.