POST /api/admin/principals/:zid/revoke
| Method | POST |
| Path | /api/admin/principals/:zid/revoke |
| Group | Admin |
| Auth | admin session cookie |
| Source | shared/api-core/src/routes/admin.ts |
Call it
curl -X POST https://zeqsdk.com/api/admin/principals/:zid/revoke \
-H "Content-Type: application/json" \
-d '{}'
Requires an authenticated admin session — sign in first; the session cookie is sent automatically by the browser/SDK.
Reference
- Group: Admin
- Drive it from any client — the TypeScript SDK, Python, CLI, and MCP server all wrap the same routes.