Edit Video Share Permissions
Edits the specified access permissions for a video.
Authorizations: Recordings - ACCESS
Requests
PUT /apis/assets/:assetId/shares/:shareId
{
"id": "a78758cc-48da-47ad-bc6e-6c8564badb7e",
"shareType": "USER",
"permission": "WATCH",
"name": "viewer"
}
Response
Success
{
"data": {
"id": "a78758cc-48da-47ad-bc6e-6c8564badb7e",
"shareType": "USER",
"permission": "WATCH",
"name": "viewer",
"email": null
}
}
Error
Code | Payload | Description |
---|---|---|
|
| User is not allowed to share to this permission ID. Ex.: User has the WATCH access permission, but is trying to share to the OWN level. |
|
| Specified video has no share for the specified user or group ID. |
|
| Supplied data was insufficient or incorrect. |
|
| The share permission to share with was not found. |