Edit Share Permission for a Feed
Edits the specified access permission for the feed.
Authorizations: Administrator
Requests
PUT /apis/sections/:sectionId/shares/:shareId
{
"id": "a78758cc-48da-47ad-bc6e-6c8564badb7e",
"shareType": "USER",
"permission": "WATCH",
"name": "viewer",
"email": null
}
Response
Success
{
"data": {
"id": "a78758cc-48da-47ad-bc6e-6c8564badb7e",
"shareType": "USER",
"permission": "WATCH",
"name": "viewer",
"email": null
}
}
Error
Code | Payload | Description |
---|---|---|
|
| Supplied data was insufficient or incorrect. |
|
| 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. |
|
| No user or group was found. |
|
| The specified access permission was not found. |