List Trusted Domains
POST/v2beta/instances/:instanceId/trusted-domains/search
Lists trusted domains of the instance.
The instance_id in the input message will be used in the future.
Required permissions:
iam.read
Request​
Path Parameters
- application/json
- application/grpc
- application/grpc-web+proto
Body
required
Array [
]
pagination
object
Pagination and sorting.
Starting point for retrieval, in combination of offset used to query a set list of objects.
limit is the maximum amount of objects returned. The default is set to 100 with a maximum of 1000 in the runtime configuration. If the limit exceeds the maximum configured ZITADEL will throw an error. If no limit is present the default is taken.
Asc is the sorting order. If true the list is sorted ascending, if false the list is sorted descending. The default is descending.
Possible values: [TRUSTED_DOMAIN_FIELD_NAME_UNSPECIFIED
, TRUSTED_DOMAIN_FIELD_NAME_DOMAIN
, TRUSTED_DOMAIN_FIELD_NAME_CREATION_DATE
]
Default value: TRUSTED_DOMAIN_FIELD_NAME_UNSPECIFIED
The field the result is sorted by.
queries
object[]
Criterias the client is looking for.
domainQuery
object
Possible values: <= 200 characters
Possible values: [TEXT_QUERY_METHOD_EQUALS
, TEXT_QUERY_METHOD_EQUALS_IGNORE_CASE
, TEXT_QUERY_METHOD_STARTS_WITH
, TEXT_QUERY_METHOD_STARTS_WITH_IGNORE_CASE
, TEXT_QUERY_METHOD_CONTAINS
, TEXT_QUERY_METHOD_CONTAINS_IGNORE_CASE
, TEXT_QUERY_METHOD_ENDS_WITH
, TEXT_QUERY_METHOD_ENDS_WITH_IGNORE_CASE
]
Default value: TEXT_QUERY_METHOD_EQUALS
Defines which text equality method is used
Body
required
Array [
]
pagination
object
Pagination and sorting.
Starting point for retrieval, in combination of offset used to query a set list of objects.
limit is the maximum amount of objects returned. The default is set to 100 with a maximum of 1000 in the runtime configuration. If the limit exceeds the maximum configured ZITADEL will throw an error. If no limit is present the default is taken.
Asc is the sorting order. If true the list is sorted ascending, if false the list is sorted descending. The default is descending.
Possible values: [TRUSTED_DOMAIN_FIELD_NAME_UNSPECIFIED
, TRUSTED_DOMAIN_FIELD_NAME_DOMAIN
, TRUSTED_DOMAIN_FIELD_NAME_CREATION_DATE
]
Default value: TRUSTED_DOMAIN_FIELD_NAME_UNSPECIFIED
The field the result is sorted by.
queries
object[]
Criterias the client is looking for.
domainQuery
object
Possible values: <= 200 characters
Possible values: [TEXT_QUERY_METHOD_EQUALS
, TEXT_QUERY_METHOD_EQUALS_IGNORE_CASE
, TEXT_QUERY_METHOD_STARTS_WITH
, TEXT_QUERY_METHOD_STARTS_WITH_IGNORE_CASE
, TEXT_QUERY_METHOD_CONTAINS
, TEXT_QUERY_METHOD_CONTAINS_IGNORE_CASE
, TEXT_QUERY_METHOD_ENDS_WITH
, TEXT_QUERY_METHOD_ENDS_WITH_IGNORE_CASE
]
Default value: TEXT_QUERY_METHOD_EQUALS
Defines which text equality method is used
Body
required
Array [
]
pagination
object
Pagination and sorting.
Starting point for retrieval, in combination of offset used to query a set list of objects.
limit is the maximum amount of objects returned. The default is set to 100 with a maximum of 1000 in the runtime configuration. If the limit exceeds the maximum configured ZITADEL will throw an error. If no limit is present the default is taken.
Asc is the sorting order. If true the list is sorted ascending, if false the list is sorted descending. The default is descending.
Possible values: [TRUSTED_DOMAIN_FIELD_NAME_UNSPECIFIED
, TRUSTED_DOMAIN_FIELD_NAME_DOMAIN
, TRUSTED_DOMAIN_FIELD_NAME_CREATION_DATE
]
Default value: TRUSTED_DOMAIN_FIELD_NAME_UNSPECIFIED
The field the result is sorted by.
queries
object[]
Criterias the client is looking for.
domainQuery
object
Possible values: <= 200 characters
Possible values: [TEXT_QUERY_METHOD_EQUALS
, TEXT_QUERY_METHOD_EQUALS_IGNORE_CASE
, TEXT_QUERY_METHOD_STARTS_WITH
, TEXT_QUERY_METHOD_STARTS_WITH_IGNORE_CASE
, TEXT_QUERY_METHOD_CONTAINS
, TEXT_QUERY_METHOD_CONTAINS_IGNORE_CASE
, TEXT_QUERY_METHOD_ENDS_WITH
, TEXT_QUERY_METHOD_ENDS_WITH_IGNORE_CASE
]
Default value: TEXT_QUERY_METHOD_EQUALS
Defines which text equality method is used
Responses​
- 200
- 403
- 404
- default
The list of trusted domains.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
trustedDomain
object[]
pagination
object
Contains the total number of domains matching the query and the applied limit.
Absolute number of objects matching the query, regardless of applied limit.
Applied limit from query, defines maximum amount of objects per request, to compare if all objects are returned.
{
"trustedDomain": [
{
"instanceId": "string",
"creationDate": "2025-01-23T10:34:18.051Z",
"domain": "zitadel.com"
}
],
"pagination": {
"totalResult": "100",
"appliedLimit": "100"
}
}
- Schema
- Example (from schema)
Schema
Array [
]
trustedDomain
object[]
pagination
object
Contains the total number of domains matching the query and the applied limit.
Absolute number of objects matching the query, regardless of applied limit.
Applied limit from query, defines maximum amount of objects per request, to compare if all objects are returned.
{
"trustedDomain": [
{
"instanceId": "string",
"creationDate": "2025-01-23T10:34:18.051Z",
"domain": "zitadel.com"
}
],
"pagination": {
"totalResult": "100",
"appliedLimit": "100"
}
}
- Schema
- Example (from schema)
Schema
Array [
]
trustedDomain
object[]
pagination
object
Contains the total number of domains matching the query and the applied limit.
Absolute number of objects matching the query, regardless of applied limit.
Applied limit from query, defines maximum amount of objects per request, to compare if all objects are returned.
{
"trustedDomain": [
{
"instanceId": "string",
"creationDate": "2025-01-23T10:34:18.051Z",
"domain": "zitadel.com"
}
],
"pagination": {
"totalResult": "100",
"appliedLimit": "100"
}
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}