Skip To Content

Update Web Adaptors Configuration

Description

You can use this operation to change the configuration parameters and shared key.

Precaución:
If the shared key parameter has been changed, you need to re-register each of your web adaptors so that they can pick up the updated key. The configuration must always have the shared key parameter.

Request parameters

ParameterDetails
webAdaptorsConfig

The sharedKey attribute must always be present in this JSON.

Example

webAdaptorsConfig={"sharedKey": "my very secret passphrase for web adaptors"}
f

The response format. The default value is html.

Values: html | json | pjson

Example usage

Below is a sample POST request for update:


POST /webadaptor/admin/system/webadaptors/config/update HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

webAdaptorsConfig={"sharedKey": "my very secret passphrase for web adaptors"}&f=json

JSON Response example

{"status": "success"}