mirror of https://github.com/docker/docs.git
Merge pull request #22124 from gurleensethi-docker/feat/pat_expiration_doc
Document `expires_at` field for PAT creation
This commit is contained in:
parent
6343de803b
commit
9045df8e64
|
|
@ -2052,6 +2052,13 @@ components:
|
||||||
- repo:read
|
- repo:read
|
||||||
items:
|
items:
|
||||||
type: string
|
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:
|
createAccessTokensResponse:
|
||||||
$ref: '#/components/schemas/accessToken'
|
$ref: '#/components/schemas/accessToken'
|
||||||
getAccessTokensResponse:
|
getAccessTokensResponse:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue