PUT
/
api
/
v0
/
documents
/
{document_id}
{
  "name": {},
  "folder_id": {},
  "owner_id": {},
  "summary": {}
}
{
  "id": 123,
  "name": "string",
  "folder_id": {},
  "file_path": {},
  "file_type": "string",
  "file_url": {},
  "summary": "string",
  "visibility": "string",
  "version": 123,
  "owner_id": 123,
  "created_at": "string",
  "updated_at": "string"
}

Update a document

Updates a document’s properties by its unique identifier.

Path Parameters

integer
required

No description provided

Request Body

This endpoint requires a request body.

{
  "name": {},
  "folder_id": {},
  "owner_id": {},
  "summary": {}
}

Response

data
object

The response data for this endpoint.

{
  "id": 123,
  "name": "string",
  "folder_id": {},
  "file_path": {},
  "file_type": "string",
  "file_url": {},
  "summary": "string",
  "visibility": "string",
  "version": 123,
  "owner_id": 123,
  "created_at": "string",
  "updated_at": "string"
}