v4

latestOpenAPI 3.1.1Apache 2.02026-07-31107278570.4 KB
Users

List user permissions

Retrieves all permissions a user has access to within a specific organization. This includes permissions from direct role assignments and inherited permissions from role hierarchy.

get/api/v1/organizations/{organization_id}/users/{user_id}/permissions

Path parameters

organization_idstring required

Unique identifier for the organization

user_idstring required

Unique identifier for the user

Response

Successfully retrieved the list of permissions for the user

Example response

{
  "permissions": [
    {
      "description": "Allows creating new user accounts",
      "id": "perm_1234abcd5678efgh",
      "name": "users:create"
    }
  ]
}