PasswordsApi
Method | HTTP request | Description |
---|---|---|
delete_user_password_using_delete | DELETE /api/web/v1/users/{userid}/passwords | Delete a user password |
get_user_password_settings_using_get | GET /api/web/v1/users/{userid}/settings/password | Gets a user password settings |
get_user_password_using_get | GET /api/web/v1/users/{userid}/passwords | Gets a user password |
send_password_expiry_notification_using_put | PUT /api/web/v1/users/{userid}/password/notify | Update and send a password expiry notification |
set_user_password_using_put | PUT /api/web/v1/users/{userid}/passwords | Set a user password |
validate_user_password_using_post | POST /api/web/v1/users/{userid}/password/validate | Validate user password |
delete_user_password_using_delete
delete_user_password_using_delete(userid)
Delete a user password
Delete the user's password. Caller requires the USERPASSWORDS:REMOVE permission.
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | str | The UUID of the user from which the password will be deleted. |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
get_user_password_settings_using_get
UserPasswordSettings get_user_password_settings_using_get(userid)
Gets a user password settings
Get password settings information for the specified user. Caller requires the USERPASSWORDS:VIEW permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | str | The UUID of the user whose password settings information is to be fetched. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
get_user_password_using_get
UserPassword get_user_password_using_get(userid)
Gets a user password
Get password information for the specified user. Caller requires the USERPASSWORDS:VIEW permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | str | The UUID of the user whose password information is to be fetched. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
send_password_expiry_notification_using_put
send_password_expiry_notification_using_put(userid)
Update and send a password expiry notification
Updates and sends a password expiry notification to the specified user. Caller requires the USERPASSWORDS:EDIT permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | str | The UUID of the user to send an expiry notification to. |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
set_user_password_using_put
UserPassword set_user_password_using_put(userid, user_password_parms)
Set a user password
Set a user password for the specified user. Caller requires the USERPASSWORDS:EDIT permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | str | The UUID of the user whose password is to be created or modified. | |
user_password_parms | UserPasswordParms |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |
validate_user_password_using_post
UserPasswordValidationResponse validate_user_password_using_post(userid, user_password_validation_parms)
Validate user password
Validate user password. Caller requires the USERPASSWORDS:EDIT permission.
Example
- Api Key Authentication (AdminAPIAuthentication):
Parameters
Name | Type | Description | Notes |
---|---|---|---|
userid | str | The UUID of the user whose password is to be validated. | |
user_password_validation_parms | UserPasswordValidationParms |
Return type
UserPasswordValidationResponse
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code | Description | Response headers |
---|---|---|
200 | Successful | - |
400 | Bad Request | - |
401 | Access denied | - |
403 | Forbidden | - |
404 | Not Found | - |
409 | Conflict | - |