Clusters
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
CreateClusterRequest is the request body for creating a cluster
cluster_namestringRequired
Responses
200
Returns the cluster id for the newly created or updated cluster
text/plain
Responsestring
400
Bad request or missing cluster name
application/json
500
Failed to create cluster in database
application/json
post
/v2/clusterAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
cluster_idstring · nullableOptional
metadataanyOptional
resourceone ofOptional
or
or
or
Responses
200
Resource id registered internally
application/json
400
Bad request
application/json
404
Cluster or node not found
application/json
500
Failed to sync resource to database
application/json
post
/v2/cluster/syncAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstring · uuidRequired
Responses
200
Delete the given cluster, and return Status OK
No content
404
Cluster not found
application/json
500
Failed to delete cluster from database
application/json
delete
/v2/cluster/{id}No content
Last updated
Was this helpful?