# deleteBudget

```graphql
mutation DeleteBudget($budgetId: ID!) {
  deleteBudget(budgetId: $budgetId) {
    ok
  }
}
```

Delete budget.

## Arguments

| Name       | Type | Required | Description                                                                                                |
| ---------- | ---- | -------- | ---------------------------------------------------------------------------------------------------------- |
| `budgetId` | ID!  | Yes      | The budget to delete. API keys and runtime credentials are refused. A member cap cannot target the caller. |

## Variables

```json
{
  "budgetId": "string"
}
```

## Responses

| Status | Description                                |
| ------ | ------------------------------------------ |
| 200    | The Acknowledgement! in data.deleteBudget. |

## Call it

```bash
curl -X POST "https://api.veryfront.com/graphql" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "mutation DeleteBudget($budgetId: ID!) {\n  deleteBudget(budgetId: $budgetId) {\n    ok\n  }\n}",
  "variables": {
    "budgetId": "string"
  }
}'
```

## Example response

```json
{
  "data": {
    "deleteBudget": {
      "ok": false
    }
  }
}
```
