Deleting a user removes the user's sign-in information and permissions from your Vultr account. After removing an account, users can no longer log in or access any resources. This action is important if a user has left your organization.
Follow this guide to delete users using the Vultr Customer Portal, API, and CLI.
Navigate to Account and select Users under OTHER.
Identify the user from the list.
Click the Delete User icon to remove the user.
Send a GET
request to the Get Users endpoint to view all users and note the user ID.
$ curl "https://api.vultr.com/v2/users" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a DELETE
request to the Delete User endpoint and specify the user ID to delete the user.
$ curl "https://api.vultr.com/v2/users/{user-id}" \
-X DELETE \
-H "Authorization: Bearer ${VULTR_API_KEY}"
List all users and note the user ID.
$ vultr-cli users list
Delete the user by specifying the user ID.
$ vultr-cli users delete user_id
Run vultr-cli users delete --help
to view all options.