Buy the quoted name (a person only) and connect it
post/hosting/sites/{id}/domains/buy
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Graphql
Mutation.hostingDomainBuy- Sdk
hosting.domain.buy- Cli
hosting domain buy- Events
hosting.domain.bought
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- tokenstringrequiredAt most 80 characters.
Responses
- 201application/jsonSuccess
- registeredUntilstring or null
- idstring (uuid)required
- projectIdstringrequired
- hoststringrequired
- wildcardbooleanrequired
- methodstringrequiredOne of: buy, delegation, connector, domain_connect, watch.
- statestringrequiredOne of: pending_dns, verifying, issuing, live, degraded, suspended.
- reasonstringrequired
- nextobject or nullrequired
- certificatestringrequiredOne of: pending, issued, failed.
- certExpiresAtstring or nullrequired
- targetstringrequired
- canonicalstringrequiredOne of: www, apex.
- verifiedAtstring or nullrequired
- liveAtstring or nullrequired
- checkedAtstring or nullrequired
- createdAtstringrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring