Query Application Tenants

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Queries tenants, scoped to an application, based on a query expression.

Query Filter Attributes

NameTypeCase SensitiveSupported Comparison Operators
idStringYeseq, ne, in, nin
typeStringNoeq, ne, in, nin
domainNameStringNoeq, ne, sw, lt, le, gt, ge, in, nin
nameStringNoeq, ne, sw, lt, le, gt, ge, in, nin
displayNameStringNoeq, ne, sw, lt, le, gt, ge, in, nin
discoveryEmailDomainsStringNoeq, ne, sw, lt, le, gt, ge, in, nin
statusStringNoeq, ne, in, nin

Sort Attributes

  • id
  • type
  • domainName
  • name
  • displayName
  • status

Required Permissions

Below is the list of required permissions needed to interact with this API. For each permission, the allowed permission boundaries are also specified.

PermissionBoundaryDescription
tenant:readApplicationThe subject can query the tenants associated with the application to which the subject belongs.

Permissions Required To Include Associated Application

In addition to the permissions above, the following permissions are required if the tenant's associated application is specified to be returned in the response by including a non-empty value for the application_fields query parameter.

PermissionConditionBoundaryDescription
application:readRequired if the application_fields query param is not emptyApplicationThe subject can read the application associated with each tenant.
Path Params
string
required
length between 1 and 26

The ID of the application that the resource or action is scoped to.

Query Params
string
length ≥ 0
Defaults to ""

Query expression used to filter returned results in a query API call.

string

List of attributes that the results of a query should be sorted by along with their corresponding sort orders. The items that occur earlier in the list will have higher sorting precedence than those that occur later in the list.

number
≥ 1
Defaults to 1

A 1-based index indicating the position of the first item that should be returned in the query response.

number
≥ 0
Defaults to 20

The maximum number of results that can be returned in a query response. If the value is set to 0 then the items array in the response will be empty; however the total results will still be set so you can see how many items this query matched.

string
length ≥ 0
Defaults to *

List of resource fields that should be returned in a response. The wildcard value of * can be used to return all fields for the resource.

string
length ≥ 0
Defaults to *

List of application fields that should be returned in a response for which the given tenant belongs to. This allows for convenience of fetching both tenant and application data in the same request. The wildcard value of "*" can be used to return all fields for the application.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json