Update Token Configuration

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.

NoteNote:

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

Request Parameters

Parameter

Details

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="}
7/5/2017