Skip to main content
PUT
/
v1
/
api
/
documents
/
{document_id}
Edit Document
curl --request PUT \
  --url https://dev-knowledge-store.actualize.ae/v1/api/documents/{document_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "type": "pdf",
  "location": "<string>",
  "metadata": {}
}
'
"<any>"

Path Parameters

document_id
string<uuid>
required

Body

application/json

This model is to create a document in the system. This can only be used if the document is a Web URL, or a local file in the server. If uploading a new file, use the DocumentUpload model.

name
string
required
type
enum<string>
required
Available options:
pdf,
csv,
docx,
xlsx,
web
location
string
required
metadata
object
required

Response

Successful Response

The response is of type any.