delete

user.file.delete

Soft-deletes a file. All versions are marked deleted atomically; MinIO objects are cleaned up out of band.

Auth

Bearer JWT + unsealed vault.

GraphQL

mutation($id: ID!) {
  user {
    file {
      delete(id: $id)
    }
  }
}

Returns the deleted file’s id on success.

curl

curl -X POST https://api.test.geena.eu/graphql \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "mutation($id: ID!) { user { file { delete(id: $id) } } }",
    "variables": { "id": "a1b2-..." }
  }'