Documents Collaboration
Create/Update Document Team Collaborator
Changed onUpdates the details of the given team's collaboration on the given document, or adds the team as a collaborator on the document if it isn't already a collaborator.
put/v2/documents/{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/tokenScopeslucidchart.document.app.folder, lucidchart.document.app.picker.share.collaborator, lucidchart.document.content.share.collaborator, lucidscale.document.app.folder, lucidscale.document.app.picker.share.collaborator, lucidscale.document.content.share.collaborator, lucidspark.document.app.folder, lucidspark.document.app.picker.share.collaborator, lucidspark.document.content.share.collaborator
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
ID of the document.
teamIdstring required
ID of the team to retrieve collaborator settings for, prefixed with team_. The legacy numeric team ID is also accepted.
Request body
Example request
{
"role": "comment"
}Response
OK when updating an existing Document Team Collaborator. Contains the updated Document Team Collaborator Resource.
Example response
{
"teamId": "team_99"
}Changes
- info
endpoint added
- info