ClickHouse

Sets the agent ceiling on a ClickHouse database; an agent gets the lesser of this and its owner's access.

Changed on

None denies agents the database. Idempotent. 400 when the database is not grantable.

put/authorization/relations/clickhouse/agent

Request

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

Request body

databasestring required

The ClickHouse database name.

ceiling'None' | 'Reader' | 'Writer' required

The most an agent may do on a clickhouse_database, whoever it acts for. ClickHouseAgentCeiling.None means no agent tuple exists on the database.

Response

No Content

Changes