Delete a Kubernetes cluster
DELETE/api/v1/clusters/:clusterId
Deletes a Kubernetes cluster managed by the specified cloud provider.
Request
Path Parameters
clusterId stringrequired
Cluster Id
Header Parameters
X-API-KEY stringrequired
APIKey
Responses
- 200
- 400
- 403
- 500
cluster deleted
- application/json
- Schema
- Example (from schema)
Schema
data string
id string
message string
status string
{
"data": "string",
"id": "string",
"message": "string",
"status": "string"
}
invalid providerId
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
forbidden to delete cluster. Only admin or platform-admin can delete cluster.
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
internal server error
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
Loading...