---
title: How to Disable Vultr API Access for Users
url: https://docs.vultr.com/platform/iam/organizations/manage-user-api-access/how-to-disable-vultr-api-access-for-users
description: Disable API access for a Vultr organization user to block authentication with all of their keys, using the API or CLI.
publish_date: 2026-08-18T20:18:29.086087Z
last_updated: 2026-10-23T20:28:10.203069Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

Disabling API access restricts a user from interacting with the Vultr account programmatically. This revokes the ability to authenticate to the Vultr API using that user's API keys, including requests made through the Vultr CLI or other API clients.

Follow this guide to disable API access for a user using the Vultr API or the Vultr CLI.

> [!NOTE]
> Use a root user account or a user with the **Manage Users** permission on the organization.

=== "Vultr API"

    1. Send a `GET` request to the [**List Users** endpoint](https://www.vultr.com/api/#tag/users/operation/list-users) to retrieve all users and note the target user's `id`.

        ```console
        $ curl "https://api.vultr.com/v2/users" \
            -X GET \
            -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

    1. Send a `PATCH` request to the [**Update User** endpoint](https://www.vultr.com/api/#tag/users/operation/update-user) to disable API access for the user. Replace `{user-id}` with the id from the previous step.

        ```console
        $ curl "https://api.vultr.com/v2/users/{user-id}" \
            -X PATCH \
            -H "Authorization: Bearer ${VULTR_API_KEY}" \
            -H "Content-Type: application/json" \
            -d '{
                "api_enabled": false
            }'
        ```

        A successful update returns an HTTP `202 Accepted` response.

    1. Send a `GET` request to the [**Get User** endpoint](https://www.vultr.com/api/#tag/users/operation/get-user) to retrieve the user details. Replace `{user-id}` with the user id.

        ```console
        $ curl "https://api.vultr.com/v2/users/{user-id}" \
            -X GET \
            -H "Authorization: Bearer ${VULTR_API_KEY}"
        ```

        Verify that `api_enabled` shows `false`.

=== "Vultr CLI"

    1. List all users and note the target user's ID.

        ```console
        $ vultr-cli users list
        ```

    1. Disable API access for the target user by specifying the user ID.

        ```console
        $ vultr-cli users update <user-id> \
            --api-enabled="false"
        ```

        Run `vultr-cli users update --help` to view additional available options.
