Skip to content

Commit 51795e3

Browse files
feat: Add expires_at to PAT management (#23754)
<!--Delete sections as needed --> ## Description - feat: Add expiry fields to PAT management API endpoints. ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [x] Technical review - [ ] Editorial review - [ ] Product review
1 parent 693bfc7 commit 51795e3

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

content/reference/api/hub/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ issues for Docker Service APIs.
1515

1616
---
1717

18+
## 2025-11-21
19+
20+
### Updates
21+
22+
- Add missing `expires_at` fields on [PAT management](/reference/api/hub/latest/#tag/access-tokens) endpoints.
23+
1824
## 2025-09-25
1925

2026
### Updates

content/reference/api/hub/latest.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ paths:
11061106
Updates the immutable tags configuration for this repository.
11071107
11081108
**Only users with administrative privileges for the repository can modify these settings.**
1109-
tags:
1109+
tags:
11101110
- repositories
11111111
security:
11121112
- bearerAuth: []
@@ -3213,6 +3213,10 @@ components:
32133213
- repo:read
32143214
items:
32153215
type: string
3216+
expires_at:
3217+
type: string
3218+
format: date-time
3219+
example: "2021-10-28T18:30:19.520861Z"
32163220
createAccessTokenRequest:
32173221
type: object
32183222
required:

0 commit comments

Comments
 (0)