subdomainSuggestions
Public: no authentication required.
Suggests up to three available subdomains based on an organization name. Needs no sign-in.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query SubdomainSuggestions($name: String!) {
subdomainSuggestions(name: $name)
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query SubdomainSuggestions($name: String!) {\n subdomainSuggestions(name: $name)\n}",
"variables": {
"name": "string"
}
}
EOF
Variables:
{
"name": "string"
}
Response:
{
"data": {
"subdomainSuggestions": [
"string"
]
}
}
subdomainSuggestions(
name: String!
): [String!]!
Arguments
subdomainSuggestions.name ● String! non-null scalar
The organization name to base suggestions on.
Type
String scalar
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.