Printago API
GET /v1/permissions/user/{userId}

GET /v1/permissions/user/{userId}

Path Parameters

userId required
string

Response Schema

GetAllPermissionsForUserResponse
effectivePermissionsoptional
any[]
Effective permission set (direct + role-based + owner)
ownerrequired
boolean
permissionsrequired
object[]
idrequired
string
pattern: ^[a-z0-9]{24}$
permissionrequired
any
userIdrequired
string
roleNamesoptional
string[]
Role names (system role keys like "operator") for readability
rolesoptional
string[]
Role IDs granted to the user in this store

Example Response

200 OK — application/json
{
  "owner": true,
  "permissions": [
    {
      "userId": "string",
      "id": "string"
    }
  ],
  "roles": [
    "string"
  ],
  "roleNames": [
    "string"
  ],
  "effectivePermissions": []
}