Merge pull request #22124 from gurleensethi-docker/feat/pat_expiration_doc

Document `expires_at` field for PAT creation
This commit is contained in:
Gurleen Sethi 2025-02-27 16:49:17 -05:00 committed by GitHub
parent 6343de803b
commit 9045df8e64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -2052,6 +2052,13 @@ components:
- repo:read
items:
type: string
expires_at:
type: string
description: |
Optional expiration date for the token.
If omitted, the token will remain valid indefinitely.
format: date-time
example: '2021-10-28T18:30:19.520861Z'
createAccessTokensResponse:
$ref: '#/components/schemas/accessToken'
getAccessTokensResponse: