Update API key
PUT/domains/:domain/api-key
Update the API key that is associated with a domain.
Request
Responses
- 204
- 400
- 403
- 404
- 500
Successful update. The domain is now accessible using the new API key in the request body. The domain is no longer accessible using the API key in the request header.
Bad Request, returned in the case that an error occurs while converting an A-label domain to a U-label domain name.
Returned in the case that the domain is associated with an api key that is different than the one in the request, the domain is associated with a different customer, or the domain in the request is an alias domain.
The domain does not exist.
Internal Server Error