Folders Collaboration
Create/Update Folder User Collaborator
Updates or establishes a user's collaborator access to a given folder. If the user does not already have access, a new Folder User Collaborator Resource is created. Collaborators cannot be given the role "owner", and the role of the folder's owner cannot be modified.
put/v1/folders/{id}/shares/users/{userId}
Request
- Base URLhttps://api.lucid.co
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://lucid.app/oauth2/authorizeToken URLhttps://api.lucid.co/oauth2/tokenScopesfolder
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idnumber required
ID of the folder.
userIdnumber required
ID of the user whose role to create or modify.
Request body
Example request
{
"role": "comment"
}Response
OK when updating an existing Folder User Collaborator. Contains the updated Folder User Collaborator Resource.
Changes
No recorded changes to this operation across all 2 revisions of this API.