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 URLhttps://api.clickhouse.cloud
- AuthHTTP basic
Path parameters
organizationId, string uuid required
ID of the requested organization.
serviceId, string uuid required
ID of the requested service.
Request body
Instance Service Query Api Endpoints Post Request required
roles, string[] required
The roles
openApiKeys, string[] required
The version of the service query endpoint
allowedOrigins, string
The allowed origins as comma separated list of domains
Response
Successful response
object required
status, number
HTTP status code.
requestId, string uuid
Unique id assigned to every request. UUIDv4
result, Service Query APIEndpoint
Example response
{
"status": 200
}Changes
No recorded changes to this operation across all 35 revisions of this API.