Skip to content

Grant Access

This API enables the users to grant access to another end-user with appropriate role.

Request

PUT: {base_url}/apps/:appID/users/:userID/files?filePath

Note

The user corresponding to userID need to have canManage=true permissions for them to grant access to others

Headers
Learn how to pass authentication headers here.

Payload

Parameters Type Description
filePath string Path to the file (query parameter)
userID string The unique ID of the user
role string The unique key of the role