Update Domain Config

This call updates configuration of the domain.

You can update origin and custom host header through this API.

Be aware that some modifications might cause the domain bypasses the Origin Shield.

Requires API Key as apikey request header or apikey URL query parameter.

Rate Limit: 5 requests/min

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Domain. It's the subdomain that you attached to your site domain (root domain).

Body Params

Update domain config

string

The Host request header specifies the host and port number of the server to which the request is being sent.

This field will instruct the Origin Shield server to replace the request host header value for every request proxied to the origin.

Set value to empty string "" to disable this feature.

Learn more about how to set up a custom host header.

origin
object

Configure the protocol and settings of your origin server.

boolean

To encrypt all visitor traffic, you can enable Always Use HTTPS.

Be aware that you may not be able to use this feature if your SSL certificate is not valid.

Learn more about SSL certificate and always use HTTPS.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json