Delete delegated grant
Delete delegated grant
zones.delegated_grants.delete(strid, DelegatedGrantDeleteParams**kwargs)
DELETE/zones/{zoneId}/delegated-grants/{id}
Permanently revokes a delegated grant, removing the user's access to the protected resource
Parameters
zone_id: str
id: str
Delete delegated grant
import os
from keycardai_api import KeycardAPI
client = KeycardAPI(
api_key=os.environ.get("KEYCARD_API_API_KEY"), # This is the default and can be omitted
)
client.zones.delegated_grants.delete(
id="id",
zone_id="zoneId",
)