Verify domain claim
Verify domain claim challenge.
Path parameters
-
organization_id
string Required Identifier for the Organization
Body
Required
The verification code request
-
domain_claim_request
string Required The domain claim request
Responses
-
200 application/json
With status 200 ok to signal the domain has been claimed
-
400 application/json
Domain claim already exists. (code:
org.domain_claim.already_exists
) -
404 application/json
Organization not found. (code:
organization.not_found
) -
409 application/json
Concurrent organization modification. (code:
org.domain_claim.concurrent_organization_modification
) -
449 application/json
The challenge can not be verified at the moment, please retry later
POST
/organizations/{organization_id}/domains/_verify
curl \
--request POST https://api.elastic-cloud.com/api/v1/organizations/{organization_id}/domains/_verify \
--header "Content-Type: application/json" \
--data '{"domain_claim_request":"string"}'
Request examples
{
"domain_claim_request": "string"
}
Response examples (200)
{}
Response examples (400)
# Headers
x-cloud-error-codes: org.domain_claim.already_exists
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: organization.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (409)
# Headers
x-cloud-error-codes: org.domain_claim.concurrent_organization_modification
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (449)
{}