Skip to content

Commit 9045df8

Browse files
Merge pull request #22124 from gurleensethi-docker/feat/pat_expiration_doc
Document `expires_at` field for PAT creation
1 parent 6343de8 commit 9045df8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

content/reference/api/hub/latest.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2052,6 +2052,13 @@ components:
20522052
- repo:read
20532053
items:
20542054
type: string
2055+
expires_at:
2056+
type: string
2057+
description: |
2058+
Optional expiration date for the token.
2059+
If omitted, the token will remain valid indefinitely.
2060+
format: date-time
2061+
example: '2021-10-28T18:30:19.520861Z'
20552062
createAccessTokensResponse:
20562063
$ref: '#/components/schemas/accessToken'
20572064
getAccessTokensResponse:

0 commit comments

Comments
 (0)