# deleteCallList

Delete a call list: it disappears from Call lists for everyone. The calls already made stay on each contact's history. Cannot be undone in the app, so confirm with the person first; prefer endCallList to keep a finished list. Needs you to have built the list or be an admin.

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

## Variables

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

## Response (data, an example)

```json
{
  "callListsMutation": {
    "deleteCallList": {
      "id": "<ID>"
    }
  }
}
```

## 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": "deleteCallList",
    "variables": {
      "callListId": "<callListId>"
    }
  }'
```
