Delete User

Version Requirement:

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

This API deletes a user by ID.

Endpoint Syntax

GET /api/v3/user/{id}/privilege

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://automaster.drem.io:9047/api/v3/user/aa6d94e6-8cb7-4331-a881-e24945d74ad1" \
    -H "Authorization: _dremiopu2916f7aph06aahv4ksu4life" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"