HOW TO

Update the expiration time for ArcGIS tokens using Postman

Last Published: December 28, 2022

Summary

An ArcGIS token is a string of encrypted information created using credentials for a user and is required to access a secure resource through different clients. Each token has an expiration time. In ArcGIS Online, the expiration time is determined by the maxTokenExpirationMinutes property for the organization as shown in the image below.

The expiration time of the token in REST API.

This article provides the workflow to update the expiration time for ArcGIS tokens using Postman.

Procedure

  1. Launch Postman, paste the following URL in the Enter request URL bar, and replace SHORTNAME with the short name of the organization.
https://SHORTNAME.maps.arcgis.com/sharing/rest/portals/self/update
  1. On the left of the Enter request URL bar, select POST from the drop-down list and click Send.
The Enter request URL bar in Postman.
  1. On the Body tab, update the maxTokenExpirationMinutes field with the desired value in minutes.
The maxTokenExpirationMinutes property on the Body tab in Postman.
Note: 
To revert the property to the default value (two weeks), type -1 for maxTokenExpirationMinutes in the VALUE column. Any expiration time exceeding two weeks cannot be specified in the ArcGIS Online organization.

Article ID: 000026332

Software:
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options