---
title: "Revoke an API key's purchase grant (idempotent)"
method: DELETE
path: "/v1/account/billing/keys/{keyId}/purchase-grant"
---

# Revoke an API key's purchase grant (idempotent)

`DELETE /v1/account/billing/keys/{keyId}/purchase-grant`

## Request

- Base URL: `https://api.roveapi.com`
- URL: `https://api.roveapi.com/v1/account/billing/keys/{keyId}/purchase-grant`
- Auth: API key in cookie `rove_session`

## Path parameters

- `keyId` string, uuid, required

## Response `204`

Grant revoked, or there was none; no content

## Other responses

- `401`: RFC 7807 owner-session-required: sign in
- `403`: RFC 7807 owner-origin-refused (mutations only)
- `404`: RFC 7807 key-not-found: re-read the key list
- `429`: RFC 7807 billing-settings-rate-limited: 30 owner billing-settings changes per account per trailing hour; Retry-After and retry_after_seconds
- `503`: RFC 7807 account-service-unavailable; Retry-After: 30

---

[API](https://skmtc.dev/roveapi/apis/rove-api.md) · [All operations](https://skmtc.dev/roveapi/apis/rove-api/llms.txt) · [OpenAPI document](https://skmtc.dev/roveapi/apis/rove-api/revisions/0e5d69bde586?raw)
