# Revoke account inference provider credential

```http
POST /accounts/{account_id}/inference-providers/{provider}/revoke
```

Revoke an account provider key at the expected revision while preserving its funding mode. Requires account.settings.manage.

## Parameters

| Name         | In   | Required | Description |
| ------------ | ---- | -------- | ----------- |
| `account_id` | path | Yes      |             |
| `provider`   | path | Yes      |             |

## Request body

| Field               | Type    | Required | Description |
| ------------------- | ------- | -------- | ----------- |
| `expected_revision` | integer | Yes      |             |

## Responses

| Status | Description                 |
| ------ | --------------------------- |
| 200    | Revoked provider credential |
| 400    | Bad request                 |
| 401    | Unauthorized                |
| 403    | Forbidden                   |
| 404    | Not found                   |
| 409    | Conflict                    |
| 500    | Server error                |
| 503    | Service unavailable         |
