Revoke Api Key
Authentication
Revoke Api Key
Revoke an API key.
Once revoked, the API key can no longer be used for authentication. The key record is not deleted, but marked as inactive with a revocation timestamp.
Args: key_id: API key ID to revoke db: Async database session tenant_id: Active tenant ID current_user: Authenticated user (must be tenant_admin or tenant_owner)
Raises: HTTPException 404: If API key not found HTTPException 403: If user doesn’t have permission
DELETE
Revoke Api Key