Skip to main content

Create a Modifier

Select

SaaS
Customer Managed

Create a Modifier

Path Parameters
  • clusterId int32 required

    Id of the cluster whose modifier has to be created.

Request Body
  • modifierYAML string

    Restore Modifier YAML

  • resourceKind string

    Possible values: [NONE, K8S_RESTORE_MODIFIER, K8S_RESTORE_FILTER, INVALID]

    Used to the kind of Custom Resource yaml string passed is of K8s Restore Modifier or K8s Restore Filter.

Responses

Success


Schema
  • errorMessage string
  • errorCode int32
POST /v4/kubernetes/:clusterid/modifier    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
clusterId — path required
Body
{
"modifierYAML": "string",
"resourceKind": "NONE"
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Kubernetes/:clusterId/Modifier' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"modifierYAML": "string",
"resourceKind": "NONE"
}'