List Realms for a Tenant
To list all realms for a tenant, send a GET request to /v1/tenants/$TENANT_ID/realms.
The response will contain at most 200 items and may contain a page token to query the remaining items. If page size is not specified, the response will contain 20 items. There is no defined ordering of the list of realms in the response. Note that the maximum and default page sizes are subject to change.
When paginating, the page size is maintained by the page token but may be overridden on subsequent requests. The skip is not maintained by the page token and must be specified on each subsequent request.
Page tokens expire after one week. Requests which specify an expired page token will result in undefined behavior.
Request
- Base URLhttps://api-us.beyondidentity.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
A unique identifier for a tenant.
Query parameters
Number of items returned per page. The response will include at most this many results but may include fewer. If this value is omitted, the response will return the default number of results allowed by the method.
Token to retrieve the subsequent page of the previous request. All other parameters to the list endpoint should match the original request that provided this token unless otherwise specified.
Number of items to skip. This is the zero-based index of the first result.
Response
The response will be a JSON object with keys for realms and total_size. realms will be set to an array of realm objects, each of which contain the standard realm attributes. total_size will be set to the total number of items matched by the list request. If there are more items to be returned by the requested query, the response will also contain a key called next_page_token.
Example response
{
"realms": [
{
"id": "19a95130480dfa79",
"tenant_id": "0001f1f460b1ace6",
"display_name": "Test Realm",
"classification": "SECURE_CUSTOMER",
"create_time": "2022-05-18T18:00:01.167Z",
"update_time": "2022-05-19T14:23:01.327Z"
}
],
"total_size": 1000
}Changes
No recorded changes to this operation across all 1 revision of this API.