user:update | |||||
---|---|---|---|---|---|
Description: | |||||
Updates an existing user object. You can also use this action to update the userId. |
|||||
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
userId | string | The user's unique identifier in the partner's system | V | ||
user | KalturaUser | Id The user's unique identifier in the partner's system | V | ||
Output Type | |||||
KalturaUser | |||||
Errors | |||||
INVALID_USER_ID;;Invalid user id | |||||
CANNOT_DELETE_OR_BLOCK_ROOT_ADMIN_USER;;Root admin user cannot be deleted | |||||
USER_ROLE_NOT_FOUND;;User role not found | |||||
ACCOUNT_OWNER_NEEDS_PARTNER_ADMIN_ROLE;;Account owner must have a partner administrator role | |||||
Example HTTP Hit | |||||
http://www.kaltura.com/api_v3/?service=user&action=update POST fields: userId user:relatedObjects user:id user:partnerId user:type user:screenName user:fullName user:email user:dateOfBirth user:country user:state user:city user:zip user:thumbnailUrl user:description user:tags user:adminTags user:gender user:status user:createdAt user:updatedAt user:partnerData user:indexedPartnerDataInt user:indexedPartnerDataString user:storageSize user:password user:firstName user:lastName user:isAdmin user:language user:lastLoginTime user:statusUpdatedAt user:deletedAt user:loginEnabled user:roleIds user:roleNames user:isAccountOwner user:allowedPartnerIds user:allowedPartnerPackages |