How to Update Vultr Account Users

Updated on November 15, 2024

Updating Vultr user account details involves changing their names, email, password, and permissions. Changing the information is necessary if the user's password is compromised or if you want to limit or add more permissions to their account

Follow this guide to update users using the Vultr Customer Portal, API, and CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Account and select Users under OTHER.

  2. Identify the user from the list.

    Users List

  3. Click the Edit User icon to edit the user.

    Edit User

  4. Update the user's details and click Update Profile.

    Edit User Details

  1. Send a GET request to the Get Users endpoint to view all users and note the user ID.

    console
    $ curl "https://api.vultr.com/v2/users" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a PATCH request to the Update User endpoint and specify the user ID to update the user.

    console
    $ curl "https://api.vultr.com/v2/users/{user-id}" \
        -X PATCH \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        --data '{
            "email" : "user@example.com",
            "name" : "Example User",
            "password" : "example-password",
            "api_enabled" : true,
            "acls" : [
            "manage_users",
            "subscriptions_view",
            "subscriptions",
            "provisioning",
            "billing",
            "support",
            "abuse",
            "dns",
            "upgrade",
            "objstore",
            "loadbalancer"
            ]
        }'
    

    Visit the Update User endpoint to view additional attributes to add to your request.

  1. List all users and note the user ID.

    console
    $ vultr-cli users list
    
  2. Update the user details by specifying the user ID.

    console
    $ vultr-cli users update user_id \
    --email="john_doe@example.com" \
    --name="John Doe" \
    --password="Password123" \
    --acl="manage_users,billing"
    

    Run vultr-cli users update --help to view all options.