---
title: "Revoke an active AI budget allowance"
method: DELETE
path: "/accountant/companies/{customerId}/agent/budget-allowances/{allowanceId}"
tags: ["Accountant Portal"]
---

# Revoke an active AI budget allowance

`DELETE /accountant/companies/{customerId}/agent/budget-allowances/{allowanceId}`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/agent/budget-allowances/{allowanceId}`
- Auth: HTTP bearer

Human super-admin only (HUMAN_ONLY_ROUTES). Revokes an active per-customer AI budget allowance immediately.

## Path parameters

- `customerId` string, uuid, required
- `allowanceId` string, uuid, required

## Response `200`

Revoked allowance

- object

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found

## Changes

- **2026-11-28** `24ced4d421d8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/agent/budget-allowances/:allowanceId/delete.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
