Skip to content

Commit 0157e7f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add last_login_time to Users v2 API (#2882)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent a8c4e52 commit 0157e7f

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54006,6 +54006,12 @@ components:
5400654006
icon:
5400754007
description: URL of the user's icon.
5400854008
type: string
54009+
last_login_time:
54010+
description: The last time the user logged in.
54011+
format: date-time
54012+
nullable: true
54013+
readOnly: true
54014+
type: string
5400954015
mfa_enabled:
5401054016
description: If user has MFA enabled.
5401154017
readOnly: true

packages/datadog-api-client-v2/models/UserAttributes.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ export class UserAttributes {
3030
* URL of the user's icon.
3131
*/
3232
"icon"?: string;
33+
/**
34+
* The last time the user logged in.
35+
*/
36+
"lastLoginTime"?: Date;
3337
/**
3438
* If user has MFA enabled.
3539
*/
@@ -96,6 +100,11 @@ export class UserAttributes {
96100
baseName: "icon",
97101
type: "string",
98102
},
103+
lastLoginTime: {
104+
baseName: "last_login_time",
105+
type: "Date",
106+
format: "date-time",
107+
},
99108
mfaEnabled: {
100109
baseName: "mfa_enabled",
101110
type: "boolean",

0 commit comments

Comments
 (0)