Admin Menu
Authenticated admin permissions
Returns the effective permission set for the authenticated token: permissionType (all / custom / same_as_web) and the granted permissions keys (capped by the admin's role). permissionType: "all" returns permissions: ["*"] (full access). Use this to gate UI actions without trial-and-error 403s.
get/permissions
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
The token's effective permissions.
Changes
No recorded changes to this operation across all 8 revisions of this API.