DELETE /v1/extension/key
Disconnect the extension: revoke the key used for this request
Disconnect the extension: revoke the key used for this request
Revokes the API key in the Authorization header if it is an extension key (issued via /v1/extension/exchange); the revocation is written to the tenant audit log. Other keys get 403 not_extension_key and are revoked in Desk. After this call the key returns 401. Requires scope read:pricing (every extension key has it).
- Автентифікація: заголовок
Authorization: Bearer rv_live_...(API-ключі та scopes) - Потрібний scope:
read:pricing (every extension key has it)
openapi.json) і подається англійською, як у самому API.Відповіді
200
The key is revoked.
application/json · Схема: ExtensionKeyRevoked
| Поле | Тип | Обов’язк. | Опис |
|---|---|---|---|
revoked | true | так | |
key | object | так | |
key.name | string | так |
400
Invalid request parameters or body (code validation_error).
application/problem+json · Схема: Problem
401
Missing, malformed, unknown, revoked or expired API key (code unauthorized).
application/problem+json · Схема: Problem
403
Not an extension key, or the key lacks scope read:pricing.
application/problem+json · Схема: Problem
429
Rate limit exceeded for the tenant plan (code rate_limited). Wait Retry-After seconds.
application/problem+json · Схема: Problem