On this page

    Delete User

    Version Requirement:

    This functionality is for Dremio v18.0+ Enterprise Edition only.

    This API deletes a user by ID and tag.

    Endpoint Syntax

    DELETE /api/v3/user/{id}/?version={tag}
    

    Required Privileges

    All users executing this Rest API must have the MANAGE GRANTS privilege assigned to receive a response output.

    Response Codes

    • 200 - Success.
    • 403 - The user executing the API request lacks the MANAGE GRANTS permission.
    • 404 - The user is not found.

    Example

    curl -X DELETE --location "http://localhost:9047/api/v3/user/7ab04c84-d14a-40d2-8f86-f13407/?version=S8wGYBo%3D" \
        -H "Authorization: _dremiou95hulggu60tc78etvm1tq6" \
        -H "Content-Type: application/json" \
        -H "Accept: application/json"