Vultr DocsLatest Content


Delete API Key

Updated on 17 September, 2025

Generate a new Vultr current user API key securely using portal or API.


Deleting a current user API key is an important security measure to prevent unauthorized access. Remove keys that are no longer needed or may be compromised to maintain secure account access.

Note
Deleting an API key immediately revokes its access. Any applications, scripts, or integrations using the deleted key will stop working. Ensure you have updated all workloads to use a replacement key before deleting an old key to avoid service interruptions.

Follow this guide to delete an API key for current user in the Vultr Customer Portal or via Vultr API.

  • Vultr Customer Portal
  • Vultr API
  1. Navigate to Dashboard and select Vultr API under Orchestration.
  2. In User Access Tokens section, locate the key you want to remove and click Delete.
  3. Click OK to confirm the deletion.
  1. Send a GET request to the List API Keys endpoint to retrieve all available API keys for the current user.

    console
    $ curl "https://api.vultr.com/v2/apikeys" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    

    Note the id of the API key you want to delete.

  2. Send a DELETE request to the Delete API Key endpoint to remove the API key by ID.

    console
    $ curl "https://api.vultr.com/v2/apikeys/{apikey-id}" \
        -X DELETE \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    

    An HTTP response of 204 No Content confirms that your API key is deleted.

Comments

No comments yet.