API - User Login Information

Support Center > API Integration

Published 10/22/2014 at 12:16am UTC

Page viewed 43051 times

Details

While most API users use Single Sign-On and disable passwords, you can set a password even for users created via the API.

Answer

Password API

There is 1 API method available to manage your users' passwords:

  • Set a User Password 

 

Set a User Password

PUT https://api.securevideo.com/password/5 (where 5 is the User ID)

{
    "NewPassword": "4e#@w19X4"
}

 

Sets the user password for the user ID specified in the URI to the NewPassword property specified in the content of the request.

The password must meet SecureVideo's current password complexity requirements, which requires the password to be at least 8 characters, contain at least one uppercase letter, one lowercase letter, one number, and one special character !, @, #, $, &, or *. If this condition is not met, a 409 Status Code (Conflict) will result.

If the user is not found, a 404 Status Code will result.

On success, this request will return a 204 Status Code, indicating that the request was successful, however no content was returned.

 

 

This article was last reviewed by our Support team on April 19, 2017.