Documents Collaboration
Create/Update Document User Collaborator
Updates the collaborator role for a user on a document. If the user did not previously have access to the document, they will be granted access and a new collaborator record will be created.
put/v1/documents/{id}/shares/users/{userId}
Path parameters
idstring uuid required
ID of the document.
userIdnumber required
ID of the user to retrieve collaborator settings for.
Request body
Example request
{
"role": "comment"
}Response
OK when updating an existing Document User Collaborator. Contains the updated Document User Collaborator Resource.