Delete Company Documents
On this page
GraphQL endpoint: /company
Moves documents to the calling company's trash. They stay recoverable with restoreCompanyDocuments until the trash is emptied or they are permanently deleted.
Query
mutation ($ids: [ID!]!) {
deleteCompanyDocuments(ids: $ids) {
status
count
}
}
Variables
{
"ids": [
"00000000-0000-4000-8000-000000000001",
"00000000-0000-4000-8000-000000000002"
]
}
Response
{
"data": {
"deleteCompanyDocuments": {
"count": 2,
"status": "OK"
}
}
}