# Forget the Hosted Authorization

> Coming soon, upon request — this feature is turned on for your tenant by the Aurea team. [Contact us](https://www.aureahub.com/contact)

Have Aurea forget the user's authorization at the bank ramp in one environment.

## Overview

- Its tokens are wiped; the customer stays. Aurea can no longer read the customer until the user authorizes again: [Sync the Customer](https://docs.aureahub.com/docs/bank-customer-sync.md) then answers `404` `BANK_RAMP_AUTHORIZATION_NOT_FOUND`.
- `204`; `404` `BANK_RAMP_AUTHORIZATION_NOT_FOUND` when none is kept.
- While your tenant's [audit trail](https://docs.aureahub.com/docs/audit-events.md) is on, it records `bank_ramp_customer.authorization_revoked` (category `access`).

## Endpoint

### `DELETE /v1/ramp/bank/customer/authorize`

Authentication: bearer token required.

Forgets the user's hosted authorization; the customer stays.

**Query parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `isTestnet` | boolean | no | `true` for the sandbox; `false` or omitted for production |

**Responses**

`204` Forgotten

`404` None kept

```json
{
  "statusCode": 404,
  "error": "NotFoundError",
  "message": "This user has no bank ramp authorization in sandbox.",
  "details": { "code": "BANK_RAMP_AUTHORIZATION_NOT_FOUND", "environment": "sandbox" }
}
```

---

Web version: https://docs.aureahub.com/#bank-customer-authorization-forget
