Skip to main content

Edit Share Permissions

Edits the specified share permission for the source.

Authorizations: Sources - ACCESS

Requests

PUT /apis/sources/:sourceId/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

400
{"code":"010001", "name":"InputValidation",
"message":<Error message>, "httpStatusCode":400}

Supplied data was insufficient or incorrect.

404
{"code":"040021", "name":"UserGroupNotFound",
"message":"User or Group not found",
"httpStatusCode":404}

No user or group was found.

 

JavaScript errors detected

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

If this problem persists, please contact our support.