Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 52d5c6c

Browse files
committed
Add optional step for org token expiry
1 parent 4e228bf commit 52d5c6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

admin/authentication/authentication-tokens/org-tokens.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ Follow these steps:
247247
#. Enter your API session token in the ``your-user-session-api-token-value`` field. To find or create an API session token, see :ref:`admin-api-access-tokens`.
248248
#. Provide the name of the token you want to rotate in the ``name`` field.
249249
#. Optionally, provide a grace period, in seconds, in the ``gracePeriod`` field.
250+
#. Optionally, provide the seconds until your token expires in the secondsUntilExpiry field. This can be any value between 0 seconds and 5,676,000,000 seconds (18 years). If left unspecified, the token remains valid for 18 years.
250251
#. Call the API endpoint to rotate the token.
251252

252253
For example, the following API call rotates ``myToken`` and sets a grace period of 604800 seconds (7 days) before the previous token secret expires.

0 commit comments

Comments
 (0)