List all groups for a tenant
To list all groups for a tenant, send a GET request to /v2/groups. Note that this endpoint excludes permission groups.
The response will have up to 1000 items. The response will be empty if the page size is not specified (i.e., the default). By default, the list is in ascending order by create_time. The maximum and default page sizes are subject to change.
When paginating, use the skip parameter as the offset.
When filtering, the response will only show users that satisfy this filter. The syntax follows the SCIM grammar from RFC7644 Section 3.4.2.2.
The supported operations are:
- eq (equals)
- ne (not equals)
- co (contains)
- sw (starts with)
- ew (ends with)
The supported fields and their supported operations are:
- id (eq, ne, co, sw, ew)
- name (eq, ne, co, sw, ew)
- description (eq, ne, co, sw, ew)
- source (eq, ne, co, sw, ew)
When sorting, use the order_by parameter. It's a comma-delimited list of attributes. Currently, the following fields are supported:
- name
- source
The default sorting order per attribute is ascending. Therefore, if you want descending order, append the " desc" suffix to the attribute name.
Request
- Base URLhttps://api.byndid.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The number of items returned per page. The response may include this exact number or fewer. If omitting this value, the response returns the default number of results the method allows.
Number of items to skip. This is the zero-based index of the first result.
Filter query for responses.
The syntax follows the SCIM grammar from RFC7644 Section 3.4.2.2.
The supported operations are:
- pr (present)
- eq (equals)
- ne (not equals)
- co (contains)
- sw (starts with)
- ew (ends with)
- gt (greater than)
- lt (less than)
- ge (greater than or equal to)
- le (less than or equal to)
See individual methods for the supported attributes and operations.
Ex. name co "alice"
A comma-delimited list of attributes to sort results.
The default sorting order per attribute is ascending. Therefore, if you want descending order, append the " desc" suffix to the attribute name.
Ex. name desc
Response
The response is a JSON object with groups and total_size keys. <br />
- groups is set to an array of group objects containing standard group attributes.
- total_size is set to the total number of items matched by the list request. If more items are to be returned by the requested query, make another request using the skip query parameter.
Example response
{
"users": [
{
"id": "25f94daf-63d8-4b40-b0ea-4843971d1d8e",
"create_time": "2022-04-12T05:53:07.119Z",
"update_time": "2022-06-16T14:31:03.770Z",
"tenant_id": "acme-corp",
"name": "Acme Group",
"description": "Members of the Acme Group",
"source": "scim"
}
],
"total_size": 1000
}Changes
No recorded changes to this operation across all 1 revision of this API.