Updates a cluster with the provided cluster configuration
PUThttps://edge-host-ip:5080/v1/edge-mgmt/cluster/profiles
Updates a cluster with the provided cluster configuration
Request
- application/json
Body
required
metadata
object
spec
object
Responses
- 202
- 500
(empty)
- application/json
- Schema
- Example (from schema)
Schema
messagestring
{
"message": "string"
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
codestring
detailsobject
messagestring
refstring
{
"code": "string",
"details": {},
"message": "string",
"ref": "string"
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PUT 'https://edge-host-ip:5080/v1/edge-mgmt/cluster/profiles' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"metadata": {
"creationTimestamp": "2024-07-03T13:23:56.450Z",
"id": "string",
"labels": {},
"lastModifiedTimestamp": "2024-07-03T13:23:56.450Z",
"name": "string",
"tags": {}
},
"spec": {
"archiveUploadPath": "string"
}
}'