Skip to main content

Delete User

Deletes a ClickHouse user in a specific cluster.

Delete a ClickHouse user

Provide the API with a cluster slug and a name to remove a user in that cluster.

curl -X 'DELETE' \
'https://api.gigapipe.com/v1/clusters/<your_cluster_slug>/users/?username=<username>' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your_access_token>'
# Payload response ::Dictionary
{
"message": "User <username-test> deleted."
}

Parameters

Attributes


cluster_slug  ::String

The cluster slug


username  ::String

The username of the user you want to delete


Response

Attributes


message  ::String

A basic message response