v4
latestSwagger 2.02026-08-0343714211.7 MBList Permissions
List Permissions
Path parameters
Query parameters
Used for pagination. When a list request has more records available, cursors are provided in the response headers X-Files-Cursor-Next and X-Files-Cursor-Prev. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
If set, sort records by the specified field in either asc or desc direction. Valid fields are site_id, group_id, path, user_id, partner_id or id.
If set, return records where the specified field is equal to the supplied value. Valid fields are path, group_id, partner_id or user_id. Valid field combinations are [ group_id, path ], [ partner_id, path ], [ user_id, path ], [ user_id, group_id ], [ user_id, group_id, path ], [ user_id, group_id, partner_id ] or [ user_id, group_id, partner_id, path ].
If set, return records where the specified field is prefixed by the supplied value. Valid fields are path.
Permission path. If provided, will scope all permissions(including upward) to this path.
If searching by user or group, also include user's permissions that are inherited from its groups?
Response
A list of Permissions objects.
Example response
[
{
"id": 1,
"path": "example",
"user_id": 1,
"username": "user",
"group_name": "example",
"group_ids": [
1
],
"group_names": [
"example"
],
"partner_id": 1,
"partner_name": "Acme Corp.",
"permission": "full",
"recursive": true,
"site_id": 1
}
]