View as Markdown

SDK reference · Python SDK

prov.mandate.grants.clear_holder_binding

prov.mandate.grants.clear_holder_binding in Python SDK. Put an agent back on the default holder binding.

Signature

prov.mandate.grants.clear_holder_binding(agent_id: str) -> Any

Parameters

agent_idstrRequired

Request fields

agent_idstringpathRequired
The agent.

Returns

Any The setting is cleared.

HTTP operation

DELETE /v1/mandate/holder_bindings/{agent_id}: Clear an agent's holder binding

Errors

Example

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

Was this page helpful? Send us feedback

LLM? Read llms.txt.