Updated on 20 may 2024

Lectura de

1

min

API (/delete_doc)

POST

Updated on 20 may 2024

Lectura de

1

min

API (/delete_doc)

POST

Updated on 20 may 2024

Lectura de

1

min

API (/delete_doc)

POST

DELETE /delete_doc

Deletes an existing document from the system.

URL:

POST https://api.vesana.dev/v1/delete_doc

Headers:

Content-Type: application/json x-Vesana-API-key: YOUR_API_KEY

Request Body:

{ "document_id": "string" }

Response:

{ "status": "success", "document_id": "string" }

Example:

POST /v1/delete_doc HTTP/1.1 Host: api.vesana.dev x-Vesana-API-key: YOUR_API_KEY Content-Type: application/json { "document_id": "12345" }

Example Response:

{ "status": "success", "document_id": "12345" }

See https://vesana.dev/docs/auth-error for error details in case of "status": "error"

DELETE /delete_doc

Deletes an existing document from the system.

URL:

POST https://api.vesana.dev/v1/delete_doc

Headers:

Content-Type: application/json x-Vesana-API-key: YOUR_API_KEY

Request Body:

{ "document_id": "string" }

Response:

{ "status": "success", "document_id": "string" }

Example:

POST /v1/delete_doc HTTP/1.1 Host: api.vesana.dev x-Vesana-API-key: YOUR_API_KEY Content-Type: application/json { "document_id": "12345" }

Example Response:

{ "status": "success", "document_id": "12345" }

See https://vesana.dev/docs/auth-error for error details in case of "status": "error"

DELETE /delete_doc

Deletes an existing document from the system.

URL:

POST https://api.vesana.dev/v1/delete_doc

Headers:

Content-Type: application/json x-Vesana-API-key: YOUR_API_KEY

Request Body:

{ "document_id": "string" }

Response:

{ "status": "success", "document_id": "string" }

Example:

POST /v1/delete_doc HTTP/1.1 Host: api.vesana.dev x-Vesana-API-key: YOUR_API_KEY Content-Type: application/json { "document_id": "12345" }

Example Response:

{ "status": "success", "document_id": "12345" }

See https://vesana.dev/docs/auth-error for error details in case of "status": "error"