Folders Collaboration
Create/Update Folder Team Collaborator
Changed onUpdates the details of the given team's collaboration on the given folder, or adds the team as a collaborator on the folder if it is not already a collaborator.
put/v2/folders/{id}/shares/teams/{teamId}
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.
teamIdstring required
ID of the team whose role is to be created or modified, prefixed with team_. The legacy numeric team ID is also accepted.
Request body
Example request
{
"role": "comment"
}Response
OK when updating an existing Folder Team Collaborator. Contains the updated Folder Team Collaborator Resource.
Example response
{
"teamId": "team_99"
}Changes
- info
endpoint added
- info