Organization
Create BYOC infrastructure enrollment token
Changed onThis 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 URLhttps://api.clickhouse.cloud
- AuthHTTP basic
Path parameters
organizationId, string uuid required
ID of the requested organization.
byocInfrastructureId, string uuid required
ID of the requested BYOC Infrastructure
Request body
Byoc Infrastructure Enrollment Token Post Request 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, Byoc Infrastructure Enrollment Token
Example response
{
"status": 200,
"result": {
"expiresAt": "2026-03-27T20:51:16Z"
}
}Changes
- info
endpoint added
- info