Edit a Restore modifier
Select
SaaS
Customer Managed
Edit a Restore modifier
Path Parameters
- clusterId int32 required
Id of the cluster whose modifier has to be modified.
- ModifierName string required
Name of the modifier to be modified.
- application/json
Request Body
- modifierYAML string
Restore Modifier YAML
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/kubernetes/:clusterid/modifier/:modifiername
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Kubernetes/:clusterId/Modifier/:ModifierName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Kubernetes/:clusterId/Modifier/:ModifierName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Kubernetes/:clusterId/Modifier/:ModifierName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Kubernetes/:clusterId/Modifier/:ModifierName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Kubernetes/:clusterId/Modifier/:ModifierName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Kubernetes/:clusterId/Modifier/:ModifierName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Kubernetes/:clusterId/Modifier/:ModifierName' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'