Skip to main content

PasswordsApi

MethodHTTP requestDescription
DeleteUserPasswordUsingDELETEDELETE /api/web/v1/users/{userid}/passwordsDelete a user password
GetUserPasswordSettingsUsingGETGET /api/web/v1/users/{userid}/settings/passwordGets a user password settings
GetUserPasswordUsingGETGET /api/web/v1/users/{userid}/passwordsGets a user password
SendPasswordExpiryNotificationUsingPUTPUT /api/web/v1/users/{userid}/password/notifyUpdate and send a password expiry notification
SetUserPasswordUsingPUTPUT /api/web/v1/users/{userid}/passwordsSet a user password
ValidateUserPasswordUsingPOSTPOST /api/web/v1/users/{userid}/password/validateValidate user password

DeleteUserPasswordUsingDELETE

void DeleteUserPasswordUsingDELETE (string userid)

Delete a user password

Delete the user's password. Caller requires the USERPASSWORDS:REMOVE permission.

Using the DeleteUserPasswordUsingDELETEWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user from which the password will be deleted.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

GetUserPasswordSettingsUsingGET

UserPasswordSettings GetUserPasswordSettingsUsingGET (string userid)

Gets a user password settings

Get password settings information for the specified user. Caller requires the USERPASSWORDS:VIEW permission.

Example

Using the GetUserPasswordSettingsUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user whose password settings information is to be fetched.

Return type

UserPasswordSettings

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

GetUserPasswordUsingGET

UserPassword GetUserPasswordUsingGET (string userid)

Gets a user password

Get password information for the specified user. Caller requires the USERPASSWORDS:VIEW permission.

Example

Using the GetUserPasswordUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user whose password information is to be fetched.

Return type

UserPassword

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

SendPasswordExpiryNotificationUsingPUT

void SendPasswordExpiryNotificationUsingPUT (string 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

Using the SendPasswordExpiryNotificationUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user to send an expiry notification to.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

SetUserPasswordUsingPUT

UserPassword SetUserPasswordUsingPUT (string userid, UserPasswordParms userPasswordParms)

Set a user password

Set a user password for the specified user. Caller requires the USERPASSWORDS:EDIT permission.

Example

Using the SetUserPasswordUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user whose password is to be created or modified.
userPasswordParmsUserPasswordParms

Return type

UserPassword

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

ValidateUserPasswordUsingPOST

UserPasswordValidationResponse ValidateUserPasswordUsingPOST (string userid, UserPasswordValidationParms userPasswordValidationParms)

Validate user password

Validate user password. Caller requires the USERPASSWORDS:EDIT permission.

Example

Using the ValidateUserPasswordUsingPOSTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user whose password is to be validated.
userPasswordValidationParmsUserPasswordValidationParms

Return type

UserPasswordValidationResponse

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-