Skip to content
Docs
Delegated Grants

Delete delegated grant

Delete delegated grant

client.zones.delegatedGrants.delete(stringid, DelegatedGrantDeleteParams { zoneId } params, RequestOptionsoptions?): void
DELETE/zones/{zoneId}/delegated-grants/{id}

Permanently revokes a delegated grant, removing the user's access to the protected resource

ParametersExpand Collapse
id: string
params: DelegatedGrantDeleteParams { zoneId }
zoneId: string

Zone ID

Delete delegated grant

import KeycardAPI from '@keycardai/api';

const client = new KeycardAPI();

await client.zones.delegatedGrants.delete('id', { zoneId: 'zoneId' });
Returns Examples