latestOpenAPI 3.0.12026-08-103995881.2 MB

053edab62415

users

Get user permission

get/app/v1/users/{id}/permissions

Path parameters

idstring uuid required

User ID

Response

A successful operation

namestring
activeboolean
filterobject

A filter object for Permission where it can filter based on any of these following fields. Name can be substring matched. All other values are exact matched.

Example response

[
  {
    "name": "facilities:read",
    "filter": {
      "$or": [
        {
          "custom_attributes.region": "US"
        },
        {
          "name": {
            "$like": "Facility 1"
          }
        }
      ]
    }
  }
]