Updates the publish state of the cluster
POST/resources/compute.appvia.io/v2beta2/clusterplans/:name/versions/:version/publish
Updates the publish state of the cluster
Request
Path Parameters
name stringrequired
Name of the cluster plan to publish
version stringrequired
Version of the cluster plan to publish
Query Parameters
dryRun string
Set to 'All' to perform a server-side dry run of applying this change
- application/json
Bodyrequired
required
Details of the new publishing state for the resource
publishStatestring
publishedbooleanrequired
Responses
- 200
- 400
- 401
- 403
- 500
Updated cluster plan publish state
- application/json
- Schema
- Example (from schema)
Schema
publishStatestring
publishedbooleanrequired
{
"publishState": "string",
"published": true
}
Validation error of supplied parameters/body
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
codeint32required
fieldErrors
undefined[]
required
errCodestringrequired
fieldstringrequired
messagestringrequired
messagestringrequired
{
"code": 0,
"fieldErrors": [
{
"errCode": "string",
"field": "string",
"message": "string"
}
],
"message": "string"
}
If not authenticated
If authenticated but not authorized
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
codeint32required
detailstringrequired
messagestringrequired
uristringrequired
verbstringrequired
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}