Skip to main content

Edit Video Share Permissions

Edits the specified access permissions for a video.

Authorizations: Recordings - ACCESS

Requests

PUT /apis/assets/:id/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

CodePayloadDescription
403
{"code":"030003", "name":"CannotShare",
"message":"Cannotshare",
"httpStatusCode":403}

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.

404
{"code":"040021", "name":"UserGroupNotFound",
"message":"User or Group not found",
"httpStatusCode":404}
Specified video has no share for the specified user or group ID.
400
{"code":"010001", "name":"InputValidation",
"message":, "httpStatusCode":400}
Supplied data was insufficient or incorrect.
404
{"code":"040025", "name":"SharePermissionNotFound",
"message":"Share permission not found",
"httpStatusCode":404}
The share permission to share with was not found.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.