-
Notifications
You must be signed in to change notification settings - Fork 8
Password Expiry
Calvin Son edited this page Jun 7, 2024
·
2 revisions
(NB: Not yet available)
Password Expiry API is for retrieving the status of password of current user. Including information such as expiry date, days to expire and whether user is within expiry reminder period.
Operation |
---|
Retrieve the password expiry information |
This endpoint returns the password last updated date, expiry date, server date, password configuration expiration days and days to remind user, days to expiry, is within expiry reminder period, is SSO user and whether the password is expired.
In this example, we request the password expiry endpoint
GET /tasks/actions/workspace/123 HTTP/1.1
Accept: application/vnd.huddle.data+json
Authorization: OAuth2 frootymcnooty/vonbootycherooty
HTTP/1.1 200 OK
Content-Type: application/vnd.huddle.data+json
{
"lastUpdateDate": "2024-05-30T08:00:49.697",
"expiryDate": "2024-06-29T08:00:49.697",
"serverDate": "2024-06-06T08:13:06.8626058Z",
"expirationDay": 30,
"expiryReminder": 10,
"daysToExpire": 23,
"isWithinReminderPeriod": false,
"isExpired": false
}
Response properties:
Response Property | Data Type | Comment | Optional |
---|---|---|---|
lastUpdateDate | DateTime OR null | Password last updated date | |
expiryDate | DateTime OR null | Password expiry date | |
serverDate | DateTime | Current server date | |
expirationDay | Number | Password Configuration password expiration day | |
expiryReminder | Number | Password Configuration days to expiry reminder | |
daysToExpire | Number | Days left to password expire | |
isWithinReminderPeriod | Boolean | Whether password days to expiry fall within Password Configuration days to expiry reminder | |
IsSSOUser | True OR undefined | Whether user has SSO setup | Yes |
isExpired | Boolean | Whether password already expired |
The response in the default success scenario will be 200
. Other possible response codes include:
Response Code | Meaning |
---|---|
401 | No authentication was provided |
403 | No authentication user was found |
500 | Server Internal Error |
- Basic concepts
-
Resources
- Actor
- Approvals
- BulkProcess
- Calendar
- Membership
- Company
- Document
- Document library settings
- Folder
- Paged Folder
- Pins
- Integrations
- Form
- Friends
- Invitation
- Link
- Document Lock
- Folder Lock
- Localisation
- MemberAutocomplete
- Notifications
- Offline item
- PeopleBulkProcess
- Permissions
- Presence
- PublishedDocuments
- Recents
- Recommendations
- Recycle Bin
- Search
- Share
- Tasks (Todos), File Requests, Approvals
- Tasks on Documents
- Actions
- UserApprovals
- User
- VersionHistory
- Workspace
- Workspaces
- SamlPartners
- Logout
- Impersonation
- Administration
- WebHooks