OpenapiUsers
Get user's directly assigned permissions
Returns permissions that were directly assigned to the user (not through roles). These are policies where the subject is the user_id itself. **Note**: This endpoint returns only direct permissions. For effective permissions (including those inherited from roles), use `/effective-permissions`.
GET
Returns permissions that were directly assigned to the user (not through roles). These are policies where the subject is the user_id itself.
Note: This endpoint returns only direct permissions. For effective permissions
(including those inherited from roles), use /effective-permissions.
userId*stringUser ID
Format
uuidUser direct permissions
application/json- response
has_all*booleanpermissions*array<string>curl -X GET 'https://example.com/api/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/permissions'Example Response
{
"has_all": true,
"permissions": [
"string"
]
}