What
Modify the configuration metadata of the origin of the user in the selected region.
The origin is a combination of protocol and domain (Ex: ) and the origin token is a special key used in conjunction with javascript library used for abuse detection. This key is owned by the user and is used to identify the origin of the request. Hence, the protocol and domain of the origin must be the one where the javascript is loaded.
Parameters
In the body of the request, add the origin of the user and the config parameter with the following format for the origin:1. Protocol: Can be http or https.
2. Domain: The domain of the origin.
The config parameter is a JSON object containing the configuration of the origin. It only accepts the existing parameters obtained from the GET request of the origin. If the parameter is not present in the config object, it will fail to store it. It's not necessary to send all the parameters, only the ones that need to be updated.
Result
The result is the JSON object with all the new values of the origin configuration.
Errors
- a
404 Not Founderror if the origin token is not found. - a
400 Bad Requesterror if the origin does not have the correct format. - a
400 Bad Requesterror if theconfigparameter is not a JSON object or unknown parameters are sent.
It will return the API Global errors described in the API description.