---
updatedAt: 2025-03-10T14:02:42.000Z
agentTools:
  projectIndex: https://docs.umbrellacost.io/llms.txt
---

# Delete MSP Billing Rules

The call is used to delete an MSP Billing Rule using its ID The billing rule ID is retrieved by the GET billing rules request.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Resellers",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.umbrellacost.io"
    }
  ],
  "x-readme": {
    "explorer-enabled": false
  },
  "paths": {
    "/api/v2/msp/billing-rules/v2/{rule-id}": {
      "delete": {
        "description": "The call is used to delete an MSP Billing Rule using its ID The billing rule ID is retrieved by the GET billing rules request.",
        "summary": "Delete MSP Billing Rules",
        "tags": [
          "MSP Billing Rules"
        ],
        "operationId": "delete_apiv2mspbilling-rulesv2{rule-id}",
        "responses": {
          "200": {
            "description": ""
          }
        },
        "parameters": [
          {
            "name": "rule-id",
            "in": "path",
            "required": true,
            "description": "The billing rule Id to remove\t",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "description": "",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "apikey",
            "in": "header",
            "required": true,
            "description": "",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "x-readme": {
          "code-samples": [
            {
              "code": "curl --location --request DELETE 'https://api.umbrellacost.io/api/v2/msp/billing-rules/v2/{rule-id} \\\n--header 'apikey: {{account-api-key}}' \\\n--header 'Authorization: {{Bearer-token}}' \\",
              "language": "shell",
              "name": "Example v2 (New): Delete MSP Billing rule"
            }
          ],
          "samples-languages": [
            "shell"
          ]
        }
      }
    }
  }
}
```