Folder Sharings
Delete Folder Sharing
Changed onDeletes a sharing on a folder.
Requires api token with one of the following permissions
Read, update & delete anything
Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.
An expiring access token created with the all:delegate_to_contact_permissions scope and an authorization granting the update permission on this folder can also be used.
delete/folders/{folderId}/sharings/{sharingId}
Request
- Base URLhttps://api.wistia.com/modern
- URLhttps://api.wistia.com/modern/folders/{folderId}/sharings/{sharingId}
- AuthHTTP bearer
Path parameters
folderIdstring required
Hashed ID of the folder (e.g., "4d23503f70")
Hashed ID of the folder
sharingIdstring required
ID of the sharing to be deleted
Headers
X-Wistia-API-Versionstring required
Response
Sharing deleted successfully
Example response
{
"id": 14,
"is_admin": true,
"can_share": true,
"can_download": true,
"can_upload": true,
"share": {
"id": 3,
"name": "Jim",
"type": "Contact",
"email": "jim@wistia.com"
},
"folder": {
"id": 13,
"name": "My Folder"
}
}Changes
- info
endpoint added
- info