Patch a Namespaced Virtual Machine Template
PATCH/apis/harvesterhci.io/v1beta1/namespaces/:namespace/virtualmachinetemplates/:name
Patch a VirtualMachineTemplate object.
Request
Path Parameters
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Name of the resource
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Object name and auth scope, such as for teams and projects
- application/json-patch+json
- application/merge-patch+json
Bodyrequired
Bodyrequired
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (auto)
Schema
metadata object
spec object
status object
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"defaultVersionId": "",
"description": "string"
},
"status": {
"defaultVersion": 0,
"latestVersion": 0
}
}
Unauthorized
- application/json
- Schema
- Example (auto)
Schema
"string"
- curl
- python
- go
- nodejs
- CURL
curl -L -X PATCH 'https://699c5de8cd2250875530e216--harvester-preview.netlify.app/apis/harvesterhci.io/v1beta1/namespaces/:namespace/virtualmachinetemplates/:name' \
-H 'Content-Type: application/json-patch+json' \
-H 'Accept: application/json' \
-d '{}'
