API Stability Short-Term

The checkDomain() GraphQL query is used to verify a given domain is valid.

Syntax

Below is the syntax for the checkDomain() query field:

graphql
checkDomain(
     domain: string!
   ): boolean!

After entering checkDomain, you'd enter domain followed by the name of the domain to check. If you're not sure of the domain name, you could use another query like searchDomains() to get a list of domains. Other than the domain, there's nothing else to enter — and nothing to enter related to the return data. Below is an example:

Show:
graphql
query {
   checkDomain(domain: "humio")
}

If you don't have ConfigureIdp permission (see OrganizationAction ), you won't receive any results, just an error message.