DELETE api/v1/Documents/{id}?token={token}&inCaseOfErrorReturnHttpCode={inCaseOfErrorReturnHttpCode}

Cancel a document. Alternative to POST CancelDocument
If the document is not found ==> Exception

Request Information

URI Parameters

NameDescriptionType/Additional information
id

The document's id

string

Required

token

The access token

string
inCaseOfErrorReturnHttpCode

HTTP error code to return in case of app-level error. Note that the system will return 500 for system-level errors

HttpStatusCode

Default value is BadRequest

Body Parameters

None.

Response Description

The deleted CaspitDocument

HttpResponseMessage