- URL:
- https://<root>/security/tokens/update
- Methods:
POST
- Required Capability:
- Access allowed with either the "Security and Infrastructure" privileges
- Version Introduced:
- 10.1
Description
The update
operation changes the token manager configuration.
Request parameters
Parameter | Description |
---|---|
| The JSON representation of the token manager configuration. |
| The response format. The default response format is Values: |
Example usage
The following is a sample POST request for the update
operation:
POST /webadaptor/admin/security/tokens/update HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
tokenManagerConfig={
"type": "BUILTIN",
"properties": {
"sharedKey": "secret.passphrase",
"longTimeout": "2880",
"shortTimeout": "120"
}
}&f=pjson
JSON Response example
{"status": "success"}