Zum Inhalt springen
Leadtime
Deutsch
Esc
↑↓navigieren↵öffnen⌘Jvorschau

Look up permission definitions for the authenticated caller

Returns compact canonical permission definitions. scope=mine is resolved from the current authenticated user only; it accepts no user or role identifier. Definitions explain what each permission contributes, not a promise that a requested action or record will be allowed.

GET/administration/permission-definitions
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:read
or
AuthorizationBearer token (JWT) · headerrequired
Query parameters
keysstring[]

Comma-separated permission keys to return.

groupstring

Exact shared RBAC permission group.

searchstring

Case-insensitive search over key, group, subgroup, name, and description.

scopestring

Restrict results to the authenticated caller’s effective permission keys.

Allowed:mine
limitnumber

Maximum entries. Defaults to 25 for unscoped catalog browsing and 200 for scope=mine.

min 1 · max 200
Responses
200
Array of PermissionDefinitionItem
descriptionstringrequired

What the permission lets a person do and its most important boundary or condition.

groupstring

Shared RBAC UI group, when defined.

keystringrequired

Canonical permission key.

namestringrequired

Product-facing permission name.

subgroupstring

Shared RBAC UI subgroup.

401

Unauthorized - Invalid or missing authentication token

403

Forbidden - Insufficient API scopes or permissions

Try it
Server
Authorization
Parameters
Request
curl -X GET "https://leadtime.app/api/public/administration/permission-definitions" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
[
  {
    "description": "string",
    "group": "string",
    "key": "tasks.create",
    "name": "string",
    "subgroup": "string"
  }
]