Create a Modifier
Create a Modifier
Path Parameters
- clusterId int32 required
Id of the cluster whose modifier has to be created.
- 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
}
POST /v4/kubernetes/:clusterid/modifier
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://localhost/webconsole/api/V4/Kubernetes/:clusterId/Modifier' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/Kubernetes/:clusterId/Modifier' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/Kubernetes/:clusterId/Modifier' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/Kubernetes/:clusterId/Modifier' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/Kubernetes/:clusterId/Modifier' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/Kubernetes/:clusterId/Modifier' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'
curl -L -X POST 'https://localhost/webconsole/api/V4/Kubernetes/:clusterId/Modifier' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string"
}'