Service

Upsert the service query endpoint for a given instance

Create the service query endpoint that allows executing queries via API.

post/v1/organizations/{organizationId}/services/{serviceId}/serviceQueryEndpoint

Request

  • Base URL: https://api.clickhouse.cloud
  • URL: https://api.clickhouse.cloud/v1/organizations/{organizationId}/services/{serviceId}/serviceQueryEndpoint
  • Auth: HTTP basic

Path parameters

organizationIdstring uuid required

ID of the requested organization.

serviceIdstring uuid required

ID of the requested service.

Request body

rolesstring[] required

The roles

openApiKeysstring[] required

The version of the service query endpoint

allowedOriginsstring

The allowed origins as comma separated list of domains

Response

Successful response

statusnumber

HTTP status code.

requestIdstring uuid

Unique id assigned to every request. UUIDv4

Example response

{
  "status": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.