PATCH
/
documents
/
{doc_id}
curl --request PATCH \
  --url http://localhost/api/v1/documents/{doc_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ],
  "metadata": {},
  "source_uri": "<string>",
  "source_date": "2023-12-25",
  "source_name": "<string>",
  "source_title": "<string>",
  "text": "<string>"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

doc_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type any.