- URL:https://<tokens-url>/update(POST only)
- Required Capability:Default administrator role | Security and Infrastructure
- Version Introduced:10.1
Description
You can use this operation to change the token manager configuration.
Request parameters
Parameter | Description |
---|---|
tokenManagerConfig | The JSON representation of the token manager configuration. |
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
Below is a sample POST request for update, formatted for readability:
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=json
JSON Response example
{"status": "success"}