Lists a page of tenants
POST/api/web/v4/tenantspaged
Returns tenants for the provided search parameters. Caller requires the TENANTS:VIEW permission. The following searchByAttributes are supported:
- hostname: a String up to 100 characters. Allowed operators are: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH.
- companyName: a String up to 100 characters. Allowed operators are: EQUALS, NOT_EQUALS, CONTAINS, NOT_CONTAINS, STARTS_WITH, ENDS_WITH.
- contractMode: PRODUCTION, TRIAL, UNKNOWN. Allowed operator: EQUALS.
- locked: true or false. Allowed operator: EQUALS.
- serviceProvider: true or false. Allowed operator: EQUALS.
- authenticationAccount: true or false. Allowed operator: EQUALS.
- issuanceAccount: true or false. Allowed operator: EQUALS.
- spIdp: true or false. Allowed operator: EQUALS.
Request
- application/json
Body
required
Array [
]
Users search only: additional, non-core attributes to include in the returned object. Attribute names are specific to the returned object.
Identifies the page to return when paging over a result set--if present, search by / order by attributes are ignored.
Possible values: >= 1
and <= 100
Identifies the maximum number of items to include in a page (1-100).
orderByAttribute
object
An attribute used to sort the result from a search.
Identifies whether to order results in ascending order.
Identifies the attribute.
searchByAttributes
object[]
Identifies attributes for searching purposes. Some end-points have pre-defined values and ignore this attribute.
Identifies the attribute we are searching for.
Possible values: [EQUALS
, NOT_EQUALS
, CONTAINS
, NOT_CONTAINS
, STARTS_WITH
, ENDS_WITH
, GREATER_THAN
, GREATER_THAN_OR_EQUAL
, LESS_THAN
, LESS_THAN_OR_EQUAL
, IN
, EXISTS
, NOT_EXISTS
]
Identifies the operator.
Identifies the value of the attribute we are searching for.
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Successful
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
paging
object
Contains navigation information.
Possible values: >= 1
and <= 100
The page limit used (1-100)
The cursor pointing to the next page.
The cursor pointing to the previous page.
results
object[]
required
A single page with the list of tenants found.
A flag indicating if this tenant is an authentication account.
The name of the company that owns this tenant.
Possible values: [PRODUCTION
, TRIAL
, UNKNOWN
]
The contract mode of a tenant, allowable values = 'PRODUCTION', 'TRIAL', example='TRIAL'.
The hostname of the tenant.
The UUID of this tenant within the service provider.
A flag indicating if this tenant is an issuance account.
A flag indicating if this tenant has been locked.
The previous hostname of the tenant.
A flag indicating if this child tenant is a service provider.
A flag indicating if this tenant is enabled for tenant management authentication.
{
"paging": {
"limit": 0,
"nextCursor": "string",
"prevCursor": "string"
},
"results": [
{
"authenticationAccount": true,
"companyName": "MyCompany Corp.",
"contractMode": "PRODUCTION",
"hostname": "mycompany.us.trustedauth.com",
"id": "string",
"issuanceAccount": true,
"locked": true,
"previousHostname": "mycompany.us.trustedauth.com",
"serviceProvider": true,
"spIdp": true
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Access denied
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Error Codes specific to cause of failure.
Additional Error Message describing the error.
Optional additional error information.
{
"errorCode": "invalid_user_response",
"errorMessage": "Application id cannot be null",
"parameters": [
{}
]
}