How to Delete Vultr Managed Apache Kafka®

Updated on October 16, 2024

Vultr Managed Apache Kafka® allows customers to delete their Kafka subscription when it is no longer needed. Users can easily navigate through the interface to initiate the deletion process, ensuring a straightforward and efficient experience. This feature ensures that customers can manage their resources effectively, providing them with the flexibility to remove subscriptions as their requirements change.

Follow this guide to delete Vultr Managed Apache Kafka® using the Vultr Customer Portal, API, and CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products and select Databases.

    Database selection products menu

  2. Select the target database.

    Selecting a target database

  3. Navigate to Settings, and select Delete Managed Database.

    Open deletion page

  4. Click Destroy Database Instance.

    Button to delete the database

  5. Select the checkbox, and click Destroy Managed Database on the confirmation prompt.

    Confirmation to delete the database

  1. List all the databases by sending a GET request to the List Managed Databases endpoint and note the target database's ID.

    console
    $ curl "https://api.vultr.com/v2/databases" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a DELETE request to the Delete Managed Database endpoint to delete the database.

    console
    $ curl "https://api.vultr.com/v2/databases/<database-id>" \
        -X DELETE \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  1. List all databases and note the target database's ID.

    console
    $ vultr-cli database list --summarize
    
  2. Delete the database.

    console
    $ vultr-cli database delete <database-id>