---
title: "Cancel a scheduled usage quota limit"
method: DELETE
path: "/api/v2/usage/quotas/{quota_namespace}/{id}/pending"
tags: ["Usage Metering"]
---

# Cancel a scheduled usage quota limit

`DELETE /api/v2/usage/quotas/{quota_namespace}/{id}/pending`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/usage/quotas/{quota_namespace}/{id}/pending`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `billing_edit`
- TypeScript: <https://skmtc.dev/datadog/apis/datadog-api-v2-collection/docs/api/v2/usage/quotas/:quota_namespace/:id/pending/delete.ts> (a function with typed inputs; its response is checked against the schema)

Cancels the limit change scheduled to take effect at the start of the next usage period, leaving the usage quota and its current limit unchanged. Returns `404` when the quota does not exist, has no scheduled change, or its scheduled change has already taken effect; in every case the quota is left unchanged. The quota must belong to the caller's organization or one of its descendants, and its opaque identifier must belong to the requested quota namespace. Requires the `billing_edit` permission.

## Path parameters

- `quota_namespace` string, required
- `id` string, required

## Response `204`

No Content

## Other responses

- `400`: Bad Request. Returned if the `id` is malformed or does not belong to the requested quota namespace.
- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/3f70db624329?raw)
