---
title: "Delete allocation rule"
method: DELETE
path: "/v1/cost-allocation/{id}/rules/{ruleId}"
tags: ["Cost allocation"]
---

# Delete allocation rule

`DELETE /v1/cost-allocation/{id}/rules/{ruleId}`

## Request

- Base URL: `https://api.nops.io`
- URL: `https://api.nops.io/v1/cost-allocation/{id}/rules/{ruleId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nops/apis/nops-public-api/docs/v1/cost-allocation/:id/rules/:ruleId/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required: Showback ID
- `ruleId` string, required: Rule ID

## Response `200`

Delete allocation rule

- object
  - `data` object, required: JSON object

## Other responses

- `401`: Unauthorized — invalid or missing API key
- `403`: Forbidden — insufficient permissions or entitlement

---

[API](https://skmtc.dev/nops/apis/nops-public-api.md) - [All operations](https://skmtc.dev/nops/apis/nops-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nops/apis/nops-public-api/revisions/ac549fa495dd?raw)
