Delete document
DELETE/documents/:documentId
Delete a document's details, i.e., metadata, contents, etc
SoftDelete:
The SoftDelete parameter allows for the temporary removal of a document's metadata, attributes, etc from being retrieved from all API requests.
The document can be permanently deleted by calling the DELETE /documents/{documentId} with softDelete=false or restored using the PUT /documents/{documentId}/restore.
Only the GET /documents?softDeleted=true will return all the soft deleted documents.
Request
Path Parameters
documentId stringrequired
Document Identifier
Query Parameters
siteId string
Site Identifier
artifactId string
Artifact Document Identifier
softDelete boolean
Whether to soft delete document
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
message string
Result message
{
"message": "string"
}
Loading...