How to Add Vultr Account Users

Updated on November 27, 2024

A user account lets you log in to your Vultr account, create, and access services. Vultr also allows you to define permissions and limit users to specific resources or actions. You should set the correct user accounts to enforce access control rules and permissions for your organization.

Follow this guide to add new 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. Click Add New User.

    Add New User

  3. Enter the user name and email address. Then, choose Random to generate a random password or Custom to enter a custom password for the user.

    User Details

  4. Customize the user permissions as required and click Add User.

    Company Details

  1. Send a POST request to the Create User endpoint to create a user.

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

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

  2. Send a GET request to the Get Users endpoint to view all users.

    console
    $ curl "https://api.vultr.com/v2/users" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  1. Create a new user by specifying the email, name, password, and user access control settings.

    console
    $ vultr-cli users create \
    --email="john_doe@example.com" \
    --name="John Doe" \
    --password="example-password" \
    --acl="manage_users,billing"
    
  2. List all users.

    console
    $ vultr-cli users list
    

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