v2

latestOpenAPI 3.1.02026-08-05313314398.1 KB
permissions

List User Permissions

List all permissions for a user with resource names. Requires owner.

Includes both direct user grants and grants via the user's effective groups. Role check lives inside :class:ListUserPermissions.execute_with_names — raises :class:PermissionDenied (→ HTTP 403) when the caller isn't an owner.

get/api/v1/permissions/user/{target_user_id}

Path parameters

target_user_idstring uuid required

Response

Successful Response

idstring uuid required
resource_type'project' | 'database' | 'folder' | 'app' | 'entity' | 'automation' | 'dashboard' | 'file' | 'file_folder' | 'integration' required

Resources that can carry permissions. Polymorphic resource_id.

resource_idstring uuid required
resource_namestring required
level'viewer' | 'editor' | 'admin' required

Permission tiers, strictly ordered VIEWER < EDITOR < ADMIN.