Identity Provider API, REST: Userpool.GetDomain
Returns the specified domain for a userpool.
HTTP request
GET https://organization-manager.api.yandexcloud.kz/organization-manager/v1/idp/userpools/{userpoolId}/domains/{domain}
Path parameters
Request to get a domain for a userpool.
|
Field |
Description |
|
userpoolId |
string Required field. ID of the userpool to get a domain for. |
|
domain |
string Required field. Domain name. |
Response
HTTP Code: 200 - OK
{
"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"
}
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. |