Vultr DocsLatest Content


List API Key

Updated on 17 September, 2025

List Vultr user API keys with admin access to audit, monitor, and manage credentials.


Listing a user's API keys allows you to audit active credentials, monitor usage, and manage key rotation effectively. Regularly reviewing API keys helps maintain security by identifying unused or outdated credentials.

Note
This guide covers listing API Keys for other users. You must have root or administrator account credentials in Vultr to perform these actions.

Follow this guide to list a user's API keys in the Vultr Customer Portal or through the Vultr API.

  • Vultr Customer Portal
  • Vultr API
  1. Navigate to Account and select Users under OTHER.
  2. Select the user from the list and click the Edit User icon.
  3. Scroll to the User Access Tokens section to view all API keys associated with the user.
  1. Send a GET request to the Get Users endpoint to list all users.

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

    Note the id of the user whose API keys you want to list.

  2. Send a GET request to the List User API Keys endpoint to list all keys for that user.

    console
    $ curl "https://api.vultr.com/v2/users/{user-id}/apikeys" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  3. (Optional) Send a GET request to the Get User API Key endpoint to retrieve details for a single key by ID.

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

Comments

No comments yet.