User

A set of methods for managing ClickHouse User resources.

JSON Representation

{
  "name": "string",
  "clusterId": "string",
  "permissions": [
    {
      "databaseName": "string"
    }
  ]
}
Field Description
name string

Name of the ClickHouse user.

clusterId string

ID of the ClickHouse cluster the user belongs to.

permissions[] object

Set of permissions granted to the user.

permissions[].
databaseName
string

Name of the database that the permission grants access to.

Methods

Method Description
create Creates a ClickHouse user in the specified cluster.
delete Deletes the specified ClickHouse user.
get Returns the specified ClickHouse User resource.
grantPermission Grants a permission to the specified ClickHouse user.
list Retrieves the list of ClickHouse User resources in the specified cluster.
revokePermission Revokes a permission from the specified ClickHouse user.
update Updates the specified ClickHouse user.