POST /a/role

Search Roles

Body Parameters

Name Description Type Required
CountOnly Return counts only, no actual results boolean
GroupBy Group results by integer
Limit Limit number of results string
Offset Start listing at a given position string
Operation Combine Single Queries with AND or OR #/definitions/serviceOperationType
Queries List of atomic queries that will be combined using the Operation type (AND / OR) array
ResourcePolicyQuery Policies query for specifying the search context #/definitions/restResourcePolicyQuery

Body Example

{
  "CountOnly": true,
  "GroupBy": 10,
  "Limit": "string",
  "Offset": "string",
  "Operation": "string",
  "Queries": [
    {
      "HasAutoApply": true,
      "IsGroupRole": true,
      "IsTeam": true,
      "IsUserRole": true,
      "Label": "string",
      "Uuid": [
        "string"
      ],
      "not": true
    }
  ],
  "ResourcePolicyQuery": {
    "Type": "string",
    "UserId": "string"
  }
}

Response Example (200)

Response Type /definitions/restRolesCollection

{
  "Roles": [
    {
      "AutoApplies": [
        "string"
      ],
      "ForceOverride": true,
      "GroupRole": true,
      "IsTeam": true,
      "Label": "string",
      "LastUpdated": 10,
      "Policies": [
        {
          "Action": "string",
          "Effect": "string",
          "JsonConditions": "string",
          "Resource": "string",
          "Subject": "string",
          "id": "string"
        }
      ],
      "PoliciesContextEditable": true,
      "UserRole": true,
      "Uuid": "string"
    }
  ],
  "Total": 10
}
Auto generated by Pydio Cells Enterprise Distribution v4.4.3 on 18-Jun-2024
Back to top