Skip to main content

Create User

Creates a ClickHouse user in a specific cluster.

Create a ClickHouse user

Provide the API with a cluster slug a name and a password to create a new user in that cluster.

curl -X 'POST' \
'https://api.gigapipe.com/v1/clusters/<your_cluster_slug>/users/' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your_access_token>' \
-H 'Content-Type: application/json' \
-d '{
"username": "<new_user_name>",
"password": "<new_user_password>"
}'
# Payload response ::Dictionary
{
"message": "User <new_user_name> created."
}

Parameters

Attributes


cluster_slug  ::String

The cluster slug


Payload

Attributes


username  ::String

The username of the new user that is being created


password  ::String

The password for the new user that is being created


Response

Attributes


message  ::String

A basic message response