updateIntegration
Use this method to update an integration configured under the Integrations hub.
Parameters
Parameter | Description | Included in request | Type | Values |
|---|---|---|---|---|
| The ID of the integration you want to update. | Mandatory | String | No additional requirements. |
| The new name for the integration. | Optional | String | No additional requirements. |
| The configuration settings for the integration. | Optional | Object | Refer to |
Objects
speficics
Parameter | Description | Included in request | Type |
|---|---|---|---|
| The | Optional | String |
| The port used to connect to the target of the integration. Default value: | Optional | Integer |
| The username to be used for authentication. | Optional | String |
| The password to be used for authentication. | Optional | String |
| Determines if the integration should retry authentication on failure. Default value: | Optional | Boolean |
| Time in seconds to wait between authentication retries. Default value: | Optional | Integer |
| The maximum number of authentication retry attempts allowed. Default value: | Optional | Integer |
| Specifies whether to verify the TLS certificate when connecting to the vCenter server. Default value: | Optional | Boolean |
| Defines the view mode for vCenter. Possible values:
Default value: NoteUsing any invalid value will result in the default value being used. | Optional | Integer |
Return value
Attribute | Type | Description |
|---|---|---|
| Object | Contains the result of the request. |
Objects
result
Attribute | Type | Description |
|---|---|---|
| Boolean | Indicates if the request was successful. |
Example
Request:
{
"method": "updateIntegration",
"id": "7125364d-f7da-4660-870e-793f2af1941a",
"jsonrpc": "2.0",
"params": {
"integrationId": "6788dd3aae9178700406b8ca",
"name": "edited05M353Nwh9Dn9BbCkSoD",
"specifics": {
"hostname": "K6Qxish1dN.com",
"port": 555,
"username": "updated_username",
"password": "updated_password",
"retryAuthentication": false,
"retryAuthenticationTimeToWait": 6,
"retryAuthenticationMaxAttempts": 4,
"verifyTLSCertificate": false,
"viewType": 1
}
}
}Response:
{
"id": "7125364d-f7da-4660-870e-793f2af1941a",
"jsonrpc": "2.0",
"result": {
"success": true
}
}