AIGateway

Revoke an AI Gateway key

Changed on

This endpoint may be changed or removed at any time. Don't use it in production environments.

The key stops working immediately, but its ID stays resolvable so that recorded AI Gateway usage can still be attributed.

delete/project/{project}/ai-gateway/keys/{key_id}

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/project/{project}/ai-gateway/keys/{key_id}
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: projects:write

Path parameters

projectstring required

Project name

key_idstring required

AI Gateway key ID

Response

Revoke an AI Gateway key

Changes