Share a Recording with a Group
This command sets the access permission (either WATCH, EDIT, OWN, or custom permission ID) of the specified recording with the specified group.
Authorizations: All
Request
shareRecordingWithGroup groupname permissionId recordingId
|
Parameters
Name | Description |
---|---|
groupname | The name specified for the group. groupname is case-insensitive. |
permissionId | The access permission to assign to this group:
|
recordingId | The ID of an HMP recording. |
Result
Success
|
Error
Make sure a role is assigned to the group
Error | Description |
---|---|
| Calling shareRecordingWithGroup requires 3 parameter. |
| The recordingId provided must be a UUID. |
| Validation failed on 'permission'. Verify that it is set to WATCH, EDIT, or OWN . |
| An internal error occurred while searching for group 'groupname' . |
| A group with UUID 'groupname' was not found. |
| Make sure a role is assigned to the group. |
| 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.
|