Skip to main content
POST
/
v1
/
rbac
/
permissions
/
search
Search permissions
curl --request POST \
  --url https://api.example.com/v1/rbac/permissions/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "actor_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "types": [
    "user"
  ],
  "rec_types": [
    "<string>"
  ],
  "permissions": [
    "<string>"
  ],
  "active": true
}
'
{
  "total": 123,
  "permissions": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "rec_type_name": "<string>",
      "actor_name": "<string>",
      "actor_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "permission": [
        "C"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
actor_ids
string<uuid>[]
types
enum<string>[]
Available options:
user,
role
rec_types
string[]
permissions
string[]
active
boolean

Response

200 - application/json

Search results

total
integer
permissions
object[]