api-keys

Delete API Token

Changed on

Permanently deletes an API token owned by the current user, immediately revoking it.

Security Note: Session-only authentication required to prevent token-based privilege escalation.

delete/bodhi/v1/tokens/{id}

Request

  • Base URL: http://localhost:1135
  • URL: http://localhost:1135/bodhi/v1/tokens/{id}
  • Auth: OAuth 2 (authorization code, authorization URL /bodhi/v1/auth/initiate, token URL /bodhi/v1/auth/callback, scopes: resource_power_user)

Path parameters

idstring required

Unique identifier of the API token to delete

Response

Token deleted successfully

Changes