| userRole:add | |||||
|---|---|---|---|---|---|
| Description: | |||||
| Adds a new user role object to the account. | |||||
| Input Params | |||||
| Name | Type | Description | Required | Default Value | Restrictions | 
| userRole | KalturaUserRole | A new role | V | ||
| Output Type | |||||
| KalturaUserRole | |||||
| Errors | |||||
| PROPERTY_VALIDATION_CANNOT_BE_NULL;PROP_NAME;The property "@PROP_NAME@" cannot be null | |||||
| PROPERTY_VALIDATION_NOT_UPDATABLE;PROP_NAME;The property "@PROP_NAME@" cannot be updated | |||||
| PERMISSION_NOT_FOUND;ERR_TEXT;@ERR_TEXT@ | |||||
| Example HTTP Hit | |||||
| http://www.kaltura.com/api_v3/?service=userRole&action=add POST fields: userRole:relatedObjects userRole:id userRole:name userRole:systemName userRole:description userRole:status userRole:partnerId userRole:permissionNames userRole:tags userRole:createdAt userRole:updatedAt | |||||