Edit Cloud Config Subclient
Select
SaaS
Customer Managed
Edit Cloud Config Subclient
Path Parameters
- subclientId string required
Id of an cloud config subclient
- application/json
Request Body
- newName string
subclient name
content object
plan object
Responses
- 200
- 400
- 500
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- errorCode int32
- errorMessage string
Tells about the error occured
- warningCode int32
- warningMessage string
Tells about the warning occured
{
"errorCode": 0,
"errorMessage": "string",
"warningCode": 0,
"warningMessage": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/cloud/cloudconfig/subclient/:subclientid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient/:subclientId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
},
"ociCloudConfigContent": {
"compartments": [
"string"
],
"tags": [
{
"tagNamespace": "string",
"tagKey": "string",
"tagValue": "string"
}
],
"region": "string"
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient/:subclientId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
},
"ociCloudConfigContent": {
"compartments": [
"string"
],
"tags": [
{
"tagNamespace": "string",
"tagKey": "string",
"tagValue": "string"
}
],
"region": "string"
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient/:subclientId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
},
"ociCloudConfigContent": {
"compartments": [
"string"
],
"tags": [
{
"tagNamespace": "string",
"tagKey": "string",
"tagValue": "string"
}
],
"region": "string"
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient/:subclientId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
},
"ociCloudConfigContent": {
"compartments": [
"string"
],
"tags": [
{
"tagNamespace": "string",
"tagKey": "string",
"tagValue": "string"
}
],
"region": "string"
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient/:subclientId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
},
"ociCloudConfigContent": {
"compartments": [
"string"
],
"tags": [
{
"tagNamespace": "string",
"tagKey": "string",
"tagValue": "string"
}
],
"region": "string"
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient/:subclientId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
},
"ociCloudConfigContent": {
"compartments": [
"string"
],
"tags": [
{
"tagNamespace": "string",
"tagKey": "string",
"tagValue": "string"
}
],
"region": "string"
}
},
"plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/v4/Cloud/CloudConfig/Subclient/:subclientId' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"content": {
"azureCloudConfigContent": {
"resourceGroup": [
"string"
],
"tags": [
{
"name": "string",
"value": "string"
}
],
"region": "string"
},
"ociCloudConfigContent": {
"compartments": [
"string"
],
"tags": [
{
"tagNamespace": "string",
"tagKey": "string",
"tagValue": "string"
}
],
"region": "string"
}
},
"plan": {
"id": 0,
"name": "string"
}
}'