Skip to main content

deleteDocument

Permanently delete one or more documents. Returns a list of status objects indicating success or failure for each document.

Input

documentDeleteInput

Return Type

[DeleteObjectStatus!]! — each item contains objectId and statusCode.

Example

mutation DeleteDocument {
deleteDocument(input: {
documentId: ["ZG9jMTIzNDU2", "ZG9jNzg5MDEy"]
}) {
objectId
statusCode
}
}

Export This Article

Save a copy of this page as PDF or plain text.