> For the complete documentation index, see [llms.txt](https://docs.apica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apica.io/platform-docs/test-data-orchestrator-tdo/user-documentation/api-guide/business-rule-apis/delete-business-rule.md).

# Delete Business Rule

This call is sent as a DELETE call. You can only delete one rule at a time using this call, as the rule ID is part of the header.

The body of this call is the same as the details calls, only containing the context.

```
{
    "context": {
        "user": "mbj_test",
        "password": "xxxx",
        "project": {
            "name": "imp_payments_demo",
            "version": "1.0"
        },
        "coverage" : {
            "name": "api_demo_coverage",
          "version": "1.2"
        }
    }
}
```

For this call, we are sending the ID for the third rule in the ‘Get All Details’ call illustrated earlier. The return message simply shows a successful call.

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2Ft4JP9QfzapbfhKjLzpT4%2Fimage.png?alt=media&amp;token=bf6f68f1-4320-449a-ba6e-4dfe6677e738" alt=""><figcaption><p>Results of delete rule API</p></figcaption></figure>

Viewing the business rules in TDO after this call is sent, you can see that the third business rule is no longer present.

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FMKmvF3sYWzCPIYq6qPxA%2Fimage.png?alt=media&amp;token=9d941279-b87b-461a-bddd-ea8d55bf170f" alt=""><figcaption><p>Rule deleted from TDO</p></figcaption></figure>
