Folder Permissions
After enabling Advanced Permissions, you can configure a folder with granular access to individual users.
Advanced Folder Permissions
Get folder permissions
GET
https://api.couchdrop.io/manage/fileprops/permissions
Get permissions for a specific folder.
Query Parameters
path
string
Folder to get permission details.
Headers
token
string
API Access Token
Add/Update folder permissions
POST
https://api.couchdrop.io/manage/fileprops/permissions
Add new or update existing folder properties.
Headers
token
string
API Access Token
Request Body
path
string
Folder to grant user permissions on.
username
string
User to grant permissions on.
download
boolean
Grant Download permissions to user.
upload
boolean
Grant Upload permissions to user.
delete
boolean
Grant Delete permissions to user.
lstat
boolean
Grant LSTAT permissions to user.
ls
boolean
Grant LS permissions to user.
Delete folder permissions
DELETE
https://api.couchdrop.io/manage/fileprops/permissions/<permission_id>
Delete permissions from a specific folder.
Path Parameters
permission_id
string
ID of the permission to be deleted
Headers
token
string
API Access Token
Last updated