Skip to content

Commit 94d8319

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Rename pat_uuid to pat_id and remove alias field from PAT spec (#3234)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 1f929b8 commit 94d8319

20 files changed

Lines changed: 159 additions & 173 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,9 +1140,9 @@ components:
11401140
schema:
11411141
type: string
11421142
PersonalAccessTokenID:
1143-
description: The UUID of the personal access token.
1143+
description: The ID of the personal access token.
11441144
in: path
1145-
name: pat_uuid
1145+
name: pat_id
11461146
required: true
11471147
schema:
11481148
example: "00000000-0000-1234-0000-000000000000"
@@ -29180,11 +29180,6 @@ components:
2918029180
FullPersonalAccessTokenAttributes:
2918129181
description: Attributes of a full personal access token, including the token key.
2918229182
properties:
29183-
alias:
29184-
description: The alias (short identifier) of the personal access token.
29185-
example: "2H9MCNMBM8FQjQ16YucXkX"
29186-
readOnly: true
29187-
type: string
2918829183
created_at:
2918929184
description: Creation date of the personal access token.
2919029185
example: "2024-01-01T00:00:00+00:00"
@@ -53447,11 +53442,6 @@ components:
5344753442
PersonalAccessTokenAttributes:
5344853443
description: Attributes of a personal access token.
5344953444
properties:
53450-
alias:
53451-
description: The alias (short identifier) of the personal access token.
53452-
example: "2H9MCNMBM8FQjQ16YucXkX"
53453-
readOnly: true
53454-
type: string
5345553445
created_at:
5345653446
description: Creation date of the personal access token.
5345753447
example: "2024-01-01T00:00:00+00:00"
@@ -77997,6 +77987,10 @@ components:
7799777987
description: Title of the user.
7799877988
nullable: true
7799977989
type: string
77990+
uuid:
77991+
description: UUID of the user.
77992+
readOnly: true
77993+
type: string
7800077994
verified:
7800177995
description: Whether the user is verified.
7800277996
type: boolean
@@ -109770,7 +109764,7 @@ paths:
109770109764
operator: OR
109771109765
permissions:
109772109766
- user_app_keys
109773-
/api/v2/personal_access_tokens/{pat_uuid}:
109767+
/api/v2/personal_access_tokens/{pat_id}:
109774109768
delete:
109775109769
description: Revoke a specific personal access token.
109776109770
operationId: RevokePersonalAccessToken
@@ -121349,7 +121343,7 @@ paths:
121349121343
operator: OR
121350121344
permissions:
121351121345
- service_account_write
121352-
/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_uuid}:
121346+
/api/v2/service_accounts/{service_account_id}/access_tokens/{pat_id}:
121353121347
delete:
121354121348
description: Revoke a specific access token for a service account.
121355121349
operationId: RevokeServiceAccountAccessToken
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-04-03T21:02:56.793Z
1+
2026-04-16T20:03:06.304Z

cassettes/features/v2/service_accounts/Create-an-access-token-for-a-service-account-returns-Created-response.yml

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-04-03T21:03:03.500Z
1+
2026-04-16T20:03:09.123Z

cassettes/features/v2/service_accounts/Get-an-access-token-for-a-service-account-returns-OK-response.yml

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-04-03T21:03:09.026Z
1+
2026-04-16T20:03:10.610Z

cassettes/features/v2/service_accounts/List-access-tokens-for-a-service-account-returns-OK-response.yml

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-04-03T21:03:10.520Z
1+
2026-04-16T20:03:12.932Z

0 commit comments

Comments
 (0)