Organization

Create BYOC infrastructure enrollment token

Changed on

This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future. <br /><br /> Restricted access only. Mints a token the connector enrolls the infrastructure with. Every call mints a new token; earlier tokens stay valid until they expire. Answers 409 until ClickHouse has admitted the roles the infrastructure registered, which follows creation within minutes.

post/v1/organizations/{organizationId}/byocInfrastructure/{byocInfrastructureId}/enrollmentToken

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Path parameters

organizationId, string uuid required

ID of the requested organization.

byocInfrastructureId, string uuid required

ID of the requested BYOC Infrastructure

Request body

ByocInfrastructureEnrollmentTokenPostRequest required
ttlSeconds, integer

Lifetime of the token in seconds: whole minutes between 3600 and 86400. Omitted: four hours

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, ByocInfrastructureEnrollmentToken

Example response

{
  "status": 200,
  "result": {
    "expiresAt": "2026-03-27T20:51:16Z"
  }
}

Changes