Solution Delete
Markdown for LLMsDeletes a document solution. Afterwards documents-solution-get answers its id with 500 DOCUMENT_SOLUTION_NOT_FOUND.
The solution's configurations are deleted with it, so there is no need to delete them separately with documents-configuration-delete. Deleting the same id again returns 200 again.
An id that matches no document solution fails with 500 DOCUMENT_SOLUTION_NOT_FOUND, and an id that is not a GUID with a bodiless 404.
JWT token to authenticate the request.
In: header
API key, sent as a request header.
In: header
Path Parameters
Id of the document solution to delete, as returned by documents-solution-create in result.data.documentSolution.id. Must be a GUID: a value that is not one matches no route and returns a bodiless 404. A well-formed id that matches no document solution returns 500 DOCUMENT_SOLUTION_NOT_FOUND.
uuidResponse Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/documents/solution/d290f1ee-6c54-4b01-90e6-d701748f0851/delete"{ "result": { "statusCode": 200, "message": "Deleted" }, "origin": "DELETE https://api.doctavian.com/v1/documents/solution/{documentSolutionId}/delete", "dateTime": "2026-07-14T09:30:00.000Z", "userId": "f3408b96-9914-4aaa-973e-fc960e180106", "operationId": "e5652175df4e7e3f0efbedf56e385915"}{ "error": { "statusCode": 401, "message": "The request could not be authenticated.", "innerErrors": [ { "code": "UNAUTHORIZED", "message": "The request could not be authenticated.", "userMessage": "Your session has expired or is invalid. Please sign in again." } ] }, "origin": "DELETE https://api.doctavian.com/v1/documents/solution/{documentSolutionId}/delete", "dateTime": "2026-01-02T12:34:56.000Z", "operationId": "158e327680d5599e7bc70f8666566d62", "userId": "748b2a39-7231-4b49-832b-9ef189074a21"}{ "error": { "statusCode": 500, "message": "Internal Server Error", "innerErrors": [ { "code": "DELETE_DOCUMENT_SOLUTION_ERROR", "message": "The document solution could not be deleted.", "userMessage": "Something went wrong. Please try again or contact support.", "eventId": "c2f4e1a7-9b3d-4e58-a6f0-1d7b8e2c5a94" } ] }, "origin": "DELETE https://api.doctavian.com/v1/documents/solution/{documentSolutionId}/delete", "dateTime": "2026-10-13T08:55:27.000Z", "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5", "operationId": "31137d5fb99bf5d731137d5fb99bf5d7"}