Skip to content

Workspace

Revoke a remembered approval

POST/api/w/:wid/approval-grants/:gid/revoke

Owners, admins, security leads and the person who granted it can revoke a grant. It takes effect on the next call, which asks a person again. The revocation is written to the ledger as agent_approval_revoked.

#Authentication

Session cookie

A signed-in person: the console's session cookie. Every state-changing request also carries the header x-immiscible-csrf: 1, and the member's role decides what it may do. Bearer tokens are ignored on these routes, so no machine credential can reach them.

#Path parameters

widstringrequired

Workspace id

gidstringrequired

Connection (OAuth grant) id