POST /a/user

List/Search users

Body Parameters

Name Description Type Required
CountOnly Return counts only, no actual results boolean
GroupBy integer
Limit Limit number of results string
Offset Start listing at a given position string
Operation Combine single queries with AND or OR logic #/definitions/serviceOperationType
Queries Atomic queries that will be combined using the Operation Type (AND or OR) array
ResourcePolicyQuery Policies queries to filter the search context #/definitions/restResourcePolicyQuery

Body Example

{
  "CountOnly": true,
  "GroupBy": 10,
  "Limit": "string",
  "Offset": "string",
  "Operation": "string",
  "Queries": [
    {
      "AttributeAnyValue": true,
      "AttributeName": "string",
      "AttributeValue": "string",
      "ConnectedSince": "string",
      "FullPath": "string",
      "GroupPath": "string",
      "HasProfile": "string",
      "HasRole": "string",
      "Login": "string",
      "NodeType": "string",
      "Password": "string",
      "Recursive": true,
      "Uuid": "string",
      "not": true
    }
  ],
  "ResourcePolicyQuery": {
    "Type": "string",
    "UserId": "string"
  }
}

Response Example (200)

Response Type /definitions/restUsersCollection

{
  "Groups": [
    {
      "Attributes": {},
      "GroupLabel": "string",
      "GroupPath": "string",
      "IsGroup": true,
      "LastConnected": 10,
      "Login": "string",
      "OldPassword": "string",
      "Password": "string",
      "Policies": [
        {
          "Action": "string",
          "Effect": "string",
          "JsonConditions": "string",
          "Resource": "string",
          "Subject": "string",
          "id": "string"
        }
      ],
      "PoliciesContextEditable": true,
      "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"
        }
      ],
      "Uuid": "string"
    }
  ],
  "Total": 10,
  "Users": [
    {
      "Attributes": {},
      "GroupLabel": "string",
      "GroupPath": "string",
      "IsGroup": true,
      "LastConnected": 10,
      "Login": "string",
      "OldPassword": "string",
      "Password": "string",
      "Policies": [
        {
          "Action": "string",
          "Effect": "string",
          "JsonConditions": "string",
          "Resource": "string",
          "Subject": "string",
          "id": "string"
        }
      ],
      "PoliciesContextEditable": true,
      "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"
        }
      ],
      "Uuid": "string"
    }
  ]
}
Auto generated by Pydio Cells Enterprise Distribution v4.4.3 on 18-Jun-2024
Back to top