user:add | |||||
---|---|---|---|---|---|
Description: | |||||
Adds a new user to an existing account in the Kaltura database. Input param $id is the unique identifier in the partner's system. |
|||||
Input Params | |||||
Name | Type | Description | Required | Default Value | Restrictions |
user | KalturaUser | The new user | V | ||
Output Type | |||||
KalturaUser | |||||
Errors | |||||
DUPLICATE_USER_BY_ID;UID;User with id [@UID@] already exists in system | |||||
PROPERTY_VALIDATION_CANNOT_BE_NULL;PROP_NAME;The property "@PROP_NAME@" cannot be null | |||||
INVALID_FIELD_VALUE;FIELD_NAME;value in field [@FIELD_NAME@] is not valid | |||||
UNKNOWN_PARTNER_ID;PID;Unknown partner_id [@PID@] | |||||
ADMIN_LOGIN_USERS_QUOTA_EXCEEDED;;Partner login users quota exceeded | |||||
PASSWORD_STRUCTURE_INVALID;RULES;The password you entered has an invalid structure. Passwords must obey the following rules : @RULES@ | |||||
DUPLICATE_USER_BY_LOGIN_ID;EMAIL;Loginable user with email [@EMAIL@] already exists in system | |||||
USER_ROLE_NOT_FOUND;;User role not found | |||||
Example HTTP Hit | |||||
http://www.kaltura.com/api_v3/?service=user&action=add POST fields: 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 |