Modify Credential
This operation can be used to update the credential of an RDS instance.
Path Parameters
- Instance string required
id of the Instance.
- application/json
Request Body
instanceProperties object
association object
Responses
- 200
- 201
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
response object[]
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "",
"instanceId": 0,
"_type_": 0
}
}
]
}
Created
POST /instance/:instance
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "AMAZON_RDS",
"generalCloudProperties": {
"credentials": {
"credentialName": "string"
},
"amazonInstanceInfo": {
"useIamRole": true
}
}
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "Cloud Apps"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "AMAZON_RDS",
"generalCloudProperties": {
"credentials": {
"credentialName": "string"
},
"amazonInstanceInfo": {
"useIamRole": true
}
}
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "Cloud Apps"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "AMAZON_RDS",
"generalCloudProperties": {
"credentials": {
"credentialName": "string"
},
"amazonInstanceInfo": {
"useIamRole": true
}
}
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "Cloud Apps"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "AMAZON_RDS",
"generalCloudProperties": {
"credentials": {
"credentialName": "string"
},
"amazonInstanceInfo": {
"useIamRole": true
}
}
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "Cloud Apps"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "AMAZON_RDS",
"generalCloudProperties": {
"credentials": {
"credentialName": "string"
},
"amazonInstanceInfo": {
"useIamRole": true
}
}
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "Cloud Apps"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "AMAZON_RDS",
"generalCloudProperties": {
"credentials": {
"credentialName": "string"
},
"amazonInstanceInfo": {
"useIamRole": true
}
}
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "Cloud Apps"
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"cloudAppsInstance": {
"instanceType": "AMAZON_RDS",
"generalCloudProperties": {
"credentials": {
"credentialName": "string"
},
"amazonInstanceInfo": {
"useIamRole": true
}
}
}
},
"association": {
"entity": [
{
"clientName": "string",
"instanceName": "string",
"displayName": "string",
"appName": "Cloud Apps"
}
]
}
}'