This command sets the access permission (either WATCH, EDIT, OWN, or custom permission ID) of the specified recording with the specified user.
Authorizations: All
Request
|
|
Parameters
|
Name |
Description |
|---|---|
|
username |
The HMP user name specified for the user. username is case-insensitive. |
|
permissionId |
The access permission to assign to this user:
|
|
recordingId |
The ID of a HMP recording. |
Result
Success
|
|
Error
|
Error |
Description |
|---|---|
|
|
Calling |
|
|
The |
|
|
Validation failed on |
|
|
An internal error occurred while searching for user |
|
|
A user with UUID |
|
|
Make sure a role is assigned to the user or to at least one of the user's groups. |
|
|
A recording with UUID |
|
|
User is not allowed to share to this permission ID. Ex.: User has the WATCH permission, but is trying to share to the OWN level. |
Example
This example uses a default HMP access permission.
|
|
This example uses a custom access permission.
|
|