Skip to content

Commit 3dd38fd

Browse files
authored
Merge pull request #827 from bbiggerr/user-last_login
Added last_login to User
2 parents 8f8dfc0 + 48087fa commit 3dd38fd

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

openapi.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25878,6 +25878,7 @@ components:
2587825878
A boolean value indicating if the User has Two Factor Authentication (TFA)
2587925879
enabled. See the Create Two Factor Secret ([POST /profile/tfa-enable](/docs/api/profile/#two-factor-secret-create))
2588025880
endpoint to enable TFA.
25881+
example: true
2588125882
verified_phone_number:
2588225883
type: string
2588325884
format: phone
@@ -25900,6 +25901,33 @@ components:
2590025901

2590125902
`null` if this User has not created a password yet.
2590225903
example: "2018-01-01T01:01:01"
25904+
last_login:
25905+
type: object
25906+
readOnly: true
25907+
nullable: true
25908+
description: |
25909+
Information for the most recent login attempt for this User.
25910+
25911+
`null` if no login attempts have been made since creation of this User.
25912+
25913+
Access the [User Logins List All](/docs/api/account/#user-logins-list-all) command for additional login information.
25914+
properties:
25915+
login_datetime:
25916+
type: string
25917+
format: date-time
25918+
readOnly: true
25919+
description: |
25920+
The date and time of this User's most recent login attempt.
25921+
example: "2018-01-01T01:01:01"
25922+
status:
25923+
type: string
25924+
readOnly: true
25925+
enum:
25926+
- successful
25927+
- failed
25928+
description: |
25929+
The result of the most recent login attempt for this User.
25930+
example: successful
2590325931
UserDefinedField:
2590425932
type: object
2590525933
required:

0 commit comments

Comments
 (0)