Empty User Trash
GraphQL endpoint: /user
Permanently deletes everything in the calling user's trash. Takes no arguments — it always covers the whole trash rather than a filtered view of it — and the files leave storage as well.
Query
mutation {
emptyUserTrash {
status
count
}
}
Variables
{}Response
{
"data": {
"emptyUserTrash": {
"count": 2,
"status": "OK"
}
}
}Last updated