# deletePendingUpload

PERMANENTLY remove an upload that is still waiting for review (not yet imported). Returns true; an upload already imported, already gone or not yours is refused with an error, not false. Requires the user's explicit approval.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "deletePendingUpload", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `fileProcessingTaskId`: `ID!` (required)

## Response (data, an example)

```json
{
  "fileProcessingTaskMutation": {
    "deletePendingUpload": true
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "deletePendingUpload",
    "variables": {
      "fileProcessingTaskId": "<fileProcessingTaskId>"
    }
  }'
```
