- 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 /<context>/admin/security/tokens/update HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
tokenManagerConfig={
  "type": "BUILTIN",
  "properties": {
    "sharedKey": "secret.passphrase",
    "longTimeout": "2880",
    "shortTimeout": "120"
  }
}&f=pjsonJSON Response example
{"status": "success"}