ClickHouse

Sets a customer's access to a ClickHouse database to exactly the given relation.

Changed on

Replaces the customer's other relation on the same database. Idempotent. 400 when the database is not grantable.

put/authorization/relations/clickhouse

Request

  • Base URL
    https://api.rapidata.ai
  • URL
    https://api.rapidata.ai/authorization/relations/clickhouse
  • Auth
    OpenID Connect (https://auth.rapidata.ai/.well-known/openid-configuration, scopes: openid, profile, email, offline_access, api)

Request body

customerstring uuid required

The customer to grant the relation to.

databasestring required

The ClickHouse database name.

relation'Reader' | 'Writer' required

Relations a customer holds on a clickhouse_database, one object per ClickHouse database name. writer folds into reader.

Response

No Content

Changes