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