---
title: "Delete a tarif plan"
method: DELETE
path: "/tarifs/{tarif_id}"
tags: ["Tarif"]
---

# Delete a tarif plan

`DELETE /tarifs/{tarif_id}`

## Request

- Base URL: `https://api.your-domain.com`
- URL: `https://api.your-domain.com/tarifs/{tarif_id}`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/docs/tarifs/:tarif_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a tarif plan.

## Path parameters

- `tarif_id` integer, required: ID of the tarif to delete.

## Query parameters

- `cookie_name` string, nullable
- `tenant_id` integer

## Response `204`

Successful Response

## Other responses

- `401`: Missing or invalid authentication.
- `403`: Insufficient privileges, or tariff not deletable by your tenant.
- `404`: No tarif exists with the given id.
- `409`: Tarif is the active plan for one or more tenants and cannot be deleted.
- `422`: Validation Error

---

[API](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api.md) - [All operations](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/revisions/b53e89b98c2b?raw)
