Check Host Mapping Validity
GET {{baseUrl}}/api/v2/brands/check_host_mapping?host_mapping=<string>&subdomain=<string>
Returns a JSON object determining whether a host mapping is valid for a given subdomain.
Allowed for
- Admins
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
host_mapping | string | (Required) The hostmapping to a brand, if any (only admins view this key) | |
subdomain | string | (Required) Subdomain for a given Zendesk account address |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"cname":"bar.zendesk.com","is_valid":true}