Skip to main content
DELETE
/
api
/
cases
/
{id}
/
delete_document
Delete document from a case
curl --request DELETE \
  --url http://localhost/api/api/cases/{id}/delete_document \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "case": 123,
  "name": "<string>",
  "link": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cynopsis.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT token obtained from AWS Cognito or custom authentication service

Path Parameters

id
integer
required

A unique integer value identifying this case.

Response

Document deleted successfully.

id
integer

Document ID.

case
integer

Case ID.

name
string

Document name.

Document link.