Vultr allows you to create individual user accounts within your organization’s account, enabling team members to access services using their own login credentials. You can assign specific permissions to each user, controlling which actions they are authorized to perform and which resources they can access. Implementing user accounts with defined roles and access levels helps enforce organizational security policies and ensures proper management of your Vultr services.
Follow this guide to add new users using the Vultr Customer Portal, API, or CLI.
Send a POST
request to the Create User endpoint to create a user.
$ curl "https://api.vultr.com/v2/users" \
-X POST \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"email" : "user@example.com",
"first_name" : "Example",
"last_name" : "User",
"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.
Send a GET
request to the Get Users endpoint to view all users.
$ curl "https://api.vultr.com/v2/users" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Create a new user by specifying the name, email, password, and user access control settings.
$ vultr-cli users create --email="vultrcli@vultr.com" --name="Vultr-cli" \
--password="Password123" --api-enabled="true" --acl="manage_users,billing"
Run vultr-cli users create --help
to view additional available options.
List all users.
$ vultr-cli users list
No comments yet.