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
Body
required
Details of the new publishing state for the resource
publishState string
published booleanrequired
Responses
- 200
- 400
- 401
- 403
- 500
Updated cluster plan publish state
- application/json
- Schema
- Example (from schema)
Schema
publishState string
published booleanrequired
{
"publishState": "string",
"published": true
}
Validation error of supplied parameters/body
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
code int32required
fieldErrors
undefined[]
required
errCode stringrequired
field stringrequired
message stringrequired
message stringrequired
{
"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
code int32required
detail stringrequired
message stringrequired
uri stringrequired
verb stringrequired
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}
Loading...