HOW TO
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 maximum expiration time is determined by the maxTokenExpirationMinutes property for the organization as shown in the image below.

When generating tokens, users can specify the expiration time for the token up to the value set by the maxTokenExpirationMinutes property in the organization settings. For more details, please refer to ArcGIS REST APIs: /generateToken: Generate Token.
This article provides the workflow to update the maximum expiration time that can be set when generating for ArcGIS tokens using Postman.
Note: The maxTokenExpirationMinutes cannot be extended beyond two weeks which is the maximum allowed by ArcGIS Online. Setting a higher value will be rejected and will not update this property.
Note: The maxTokenExpirationMinutes does not impact expiration of tokens generated by the system in ArcGIS Online or other ArcGIS apps.
https://SHORTNAME.maps.arcgis.com/sharing/rest/portals/self/update


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
Get help from ArcGIS experts
Start chatting now