---
title: "Deletes the rates for the rate plan"
method: DELETE
path: "/rateplan/v0-nsfw/rate-plans/{id}/rates"
tags: ["Rate"]
---

# Deletes the rates for the rate plan

`DELETE /rateplan/v0-nsfw/rate-plans/{id}/rates`

## Request

- Base URL: `https://api.apaleo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.apaleo.com/rateplan/v0-nsfw/rate-plans/{id}/rates`
- Auth: OAuth 2
  - Implicit: `https://identity.apaleo.com/connect/authorize`
  - Scopes: `rates.delete`, `rates.manage`, `admin`

Deletes all rates in the specifed time range.<br>You must have at least one of these scopes: 'rates.delete, rates.manage'.<br>For fine-grained clients, you must have this permission: 'core.rates.delete'.

## Path parameters

- `id` string, required

## Query parameters

- `from` string, required
- `to` string, required

## Response `204`

Delete of the rates was successful.

## Other responses

- `400`: Bad request.
- `401`: You are unauthorized.
- `403`: Forbidden.
- `404`: The Request-URI could not be found.
- `422`: Validation errors in the request body or query params.
- `499`: Client closed request.
- `500`: An unexpected error occurred.
- `503`: The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-rate-plan-api-not-safe-for-work.md) - [All operations](https://skmtc.dev/apaleo/apis/apaleo-rate-plan-api-not-safe-for-work/llms.txt) - [OpenAPI document](https://skmtc.dev/apaleo/apis/apaleo-rate-plan-api-not-safe-for-work/revisions/97dec9512a17?raw)
