Update Token Configuration

  • URL:https://<tokens>/update(POST only)
  • Required Capability:Administrator
  • Related Resources:Tokens
  • Version Introduced:10.2.1

Description

You can use this operation to change the shared key for the token configuration. Shared keys are used to generate tokens and must be of a suitable length to ensure strong encryption.

Note:

When you change the token configuration, tokens that have been issued before the change will be invalidated.

Request Parameters

ParameterDetails
tokenConfig

The JSON object representing the token configuration. It must contain an attribute named 'sharedKey'.

f

The response format. The default response format is html.

Values: html | json

Example Usage

https://webadaptor.domain.com/arcgis/portaladmin/security/tokens/update
tokenConfig={"sharedKey": "gbw6+cxasO+Rq0wHUWtnS040mLW1mO4Sh+vmbW7F+cs="}