> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.finrock.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Spending Rule

> Request deletion of a spending rule. The rule is removed once the owner or at least 2 admins approve.

**[MCP scope](https://apidocs.finrock.io/api-reference/mcp-scopes.md):** `dac.write`

Use this endpoint to delete a spending rule. The rule's status changes to `AwaitingDeleteApproval` and it's removed once the owner, or at least 2 admins, approve the deletion in the dashboard.

## Body Parameters

**rule\_guid** `string` *required*

The ID of the rule to delete, from [List Spending Rules](https://apidocs.finrock.io/api-reference/spending-rules/list-spending-rules.md).

```bash cURL theme={null}
curl --request DELETE \
     --url https://api.finrock.io/dac/v1/spending-rule \
     --header 'Authorization: Bearer {JWT}' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: YOUR_API_KEY' \
     --data '{
       "rule_guid": "f2f97ab8-f8ed-46eb-ae48-d93533893baf"
     }'
```

## Response

**code** `integer`

`1000` when the deletion request was accepted.

**error** `string | null`

`null` on success.

**info** `string | null`

Additional information, if any. `null` on success.

```json 200 theme={null}
{
  "code": 1000,
  "error": null,
  "info": null
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.