user:updatelogindata | ||||
---|---|---|---|---|
Description: | ||||
Updates a user's login data: email, password, name. |
||||
Input Params | ||||
Name | Type | Description | Required | Default Value |
oldLoginId | string | The user's current email address that identified the user for login | V | |
password | string | The user's current email address that identified the user for login | V | |
newLoginId | string | Optional, The user's email address that will identify the user for login | ||
newPassword | string | Optional, The user's new password | ||
newFirstName | string | Optional, The user's new first name | ||
newLastName | string | Optional, The user's new last name | ||
Output Type | ||||
No Output | ||||
Errors | ||||
INVALID_FIELD_VALUE,value in field [%s] is not valid | ||||
LOGIN_DATA_NOT_FOUND,Login id not found | ||||
WRONG_OLD_PASSWORD,old password is wrong | ||||
PASSWORD_STRUCTURE_INVALID,The password you entered has an invalid structure. Passwords must obey the following rules : %s | ||||
PASSWORD_ALREADY_USED,Chosen password has already been used | ||||
LOGIN_ID_ALREADY_USED,Same login id is already in use | ||||
Example HTTP Hit | ||||
http://www.kaltura.com/api_v3/?service=user&action=updatelogindata POST fields: oldLoginId password newLoginId newPassword newFirstName newLastName |