Get domain claims

GET /organizations/{organization_id}/domains

Get domain claims for the organization.

Path parameters

Responses

  • 200 application/json

    The claimed domains for the organization

    Hide response attribute Show response attribute object
    • domains array[string] Required

      The list of claimed domains in the organization

  • 404 application/json

    Organization not found. (code: organization.not_found)

    Hide headers attribute Show headers attribute
    • The error codes associated with the response

      Value is organization.not_found.

    Hide response attribute Show response attribute object
    • errors array[object] Required

      A list of errors that occurred in the failing request

      Hide errors attributes Show errors attributes object
      • code string Required

        A structured code representing the error type that occurred

      • message string Required

        A human readable message describing the error that occurred

      • fields array[string]

        If the error can be tied to a specific field or fields in the user request, this lists those fields

GET /organizations/{organization_id}/domains
curl \
 --request GET 'https://api.elastic-cloud.com/api/v1/organizations/{organization_id}/domains'
Response examples (200)
{
  "domains": [
    "string"
  ]
}
Response examples (404)
# Headers
x-cloud-error-codes: organization.not_found

# Payload
{
  "errors": [
    {
      "code": "string",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ]
}