Skip to main content

List a user's permissions.

GET/api/v1/users/{user_id}/permissionspermissions:admin

Keyset list of the app permissions the user holds, directly or through a group. Each permission carries its sources: a direct grant and every group of the user whose permission set contains it, with the group and the set (the Portal's effective permissions view).

Scopepermissions:admin (sensitive)
AsynchronousNo
MCP toollist_user_permissions
Portal permissionsview_effective_permissions
Pagingkeyset
Default orderpermission_id
Sort fieldspermission_id

Parameters​

NameInTypeRequiredDescription
user_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of UserPermissionRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

UserPermission​

FieldTypeRequiredDescription
permissionstringRequiredThe permission's name, as the Portal shows it.
permission_idstringRequiredThe permission's stable key.
sourcesarray of UserPermissionSourceRequiredEvery way the user holds it: a direct grant and each group whose permission set contains it.

UserPermissionSource​

FieldTypeRequiredDescription
group_idstring or nullRequiredThe group the user belongs to; null for a direct grant.
group_namestring or nullRequired
permission_set_idstring or nullRequiredThe group's permission set that contains the permission; null for a direct grant.
permission_set_namestring or nullRequired
typestringRequireddirect or group (open).