Update Token Configuration

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

ParameterDescription

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

The following is a sample POST request for the update operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
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

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.