Skip To Content
ArcGIS Developers
Dashboard

Update Token Configuration

Description

You can use this operation to change 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

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"}