Implement Warning System for User Deletion in OpenAI Organizations with API Key Ownership

Warning Notification Before User Deletion with API Key Ownership:

Upon attempting to delete a user from an OpenAI organization (those who have created API keys) a warning message should be prompted. This message will inform the admin about the potential consequences of their action, particularly the invalidation of associated API keys.

Rationale:

  • Incident Prevention: A clear warning will prevent accidental deletions and the cascading effects on services relying on these API keys.
  • Operational Stability: Ensures continuous operation of services by preventing unexpected API key invalidation.
  • User Awareness: Increases awareness among organization administrators about the broader impact of their administrative actions.

Thanks!

1 Like