Remove a user from your Vultr organization using the IAM API. Disassociate the user without deleting their platform account or affecting other memberships.
Removing a user from an organization revokes their access to all resources, roles, and policies associated with that organization. The user's account is not deleted from the Vultr platform. They retain access to any other organizations they belong to.
This guide explains how to remove a user from an organization using the Vultr Console or the Vultr API.
Log in to the Vultr Console.
Click the organization name in the top navigation bar.
Click Manage Organization.
Click the Users tab.
Locate the user you want to remove and click the Remove icon next to their name.
In the confirmation dialog, click Remove to confirm.
The user is removed from the organization and loses access to all associated resources.
Send a GET request to the List Organizations endpoint to retrieve all organizations associated with your account.
$ curl "https://api.vultr.com/v2/organizations" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Note the id of the organization from which you want to remove the user.
Identify the user_id of the user you want to remove. Follow the steps in How to List All Users in an Organization to retrieve user IDs.
Send a DELETE request to the Remove User from Organization endpoint to remove the user. Replace {organization-id} with the organization id and {user-id} with the id of the user you want to remove.
$ curl "https://api.vultr.com/v2/organizations/{organization-id}/user/{user-id}" \
-X DELETE \
-H "Authorization: Bearer ${VULTR_API_KEY}"
A successful removal returns an HTTP 204 No Content response with no response body.