v6

latestOpenAPI 3.0.0raw.githubusercontent.com2024-10-187525179.6 KB
Documents

Add a document user

This method allows you to add a user membership to the specified document.

post/documents.add_user

Request body

idstring required

Unique identifier for the document. Either the UUID or the urlId is acceptable.

userIdstring uuid required
permission'read' | 'read_write'

Response

OK

Example response

{
  "data": {
    "users": [
      {
        "name": "Jane Doe"
      }
    ]
  }
}