Identity Provider API, REST: Userpool.ListDomains
Lists domains for the specified userpool.
HTTP request
GET https://organization-manager.api.cloud.yandex.net/organization-manager/v1/idp/userpools/{userpoolId}/domains
Path parameters
Request to list domains for a userpool.
|
Field |
Description |
|
userpoolId |
string Required field. ID of the userpool to list domains for. |
Query parameters
Request to list domains for a userpool.
|
Field |
Description |
|
pageSize |
string (int64) The maximum number of results per page to return. |
|
pageToken |
string Page token for pagination. |
|
filter |
string A filter expression that filters resources listed in the response. |
Response
HTTP Code: 200 - OK
{
"domains": [
{
"domain": "string",
"status": "string",
"statusCode": "string",
"createdAt": "string",
"validatedAt": "string",
"challenges": [
{
"createdAt": "string",
"updatedAt": "string",
"type": "string",
"status": "string",
// Includes only one of the fields `dnsChallenge`
"dnsChallenge": {
"name": "string",
"type": "string",
"value": "string"
}
// end of the list of possible fields
}
],
"deletionProtection": "boolean"
}
],
"nextPageToken": "string"
}
Response message for UserpoolService.ListDomains.
|
Field |
Description |
|
domains[] |
List of domains. |
|
nextPageToken |
string Token for getting the next page of the list. |
Domain
A domain associated with a userpool.
|
Field |
Description |
|
domain |
string Domain name. |
|
status |
enum (Status) Current status of the domain.
|
|
statusCode |
string Optional code providing details about validation errors. |
|
createdAt |
string (date-time) Timestamp when the domain was created. String in RFC3339 To work with values in this field, use the APIs described in the |
|
validatedAt |
string (date-time) Timestamp when the domain was validated. String in RFC3339 To work with values in this field, use the APIs described in the |
|
challenges[] |
List of challenges associated with this domain. |
|
deletionProtection |
boolean Whether the domain is protected from deletion. |
DomainChallenge
A challenge used to validate domain ownership.
|
Field |
Description |
|
createdAt |
string (date-time) Timestamp when the challenge was created. String in RFC3339 To work with values in this field, use the APIs described in the |
|
updatedAt |
string (date-time) Timestamp when the challenge was last updated. String in RFC3339 To work with values in this field, use the APIs described in the |
|
type |
enum (Type) Type of the challenge.
|
|
status |
enum (Status) Current status of the challenge.
|
|
dnsChallenge |
DNS record challenge details. Includes only one of the fields Challenge details. |
DnsRecord
DNS record information for domain validation.
|
Field |
Description |
|
name |
string Name of the DNS record. |
|
type |
enum (Type) Type of the DNS record.
|
|
value |
string Value of the DNS record. |