Update an Integration

post

/ic/api/integration/v1/integrations/{id}

Updates an integration.

Request

Supported Media Types
Path Parameters
Query Parameters
Header Parameters
Body ()
Integration resource
Root Schema : integration
Type: object
Show Source
Nested Schema : endPoints
Type: array
Show Source
Nested Schema : scheduleParams
Type: object
Additional Properties Allowed
Show Source
Nested Schema : trackingVariables
Type: array
Show Source
Nested Schema : EndPointRs
Type: object
Show Source
Nested Schema : ConnectionBaseRs
Type: object
Show Source
Nested Schema : additionalProperties
Type: object
Additional Properties Allowed
Show Source
Nested Schema : TrackingVariableType
Type: object
Show Source
Nested Schema : ReferenceType
Type: object
Show Source
Nested Schema : WirepointType
Type: object
Show Source
Nested Schema : property
Type: array
Show Source
Nested Schema : property
Type: array
Show Source
Nested Schema : PropertyType
Type: object
Show Source
Nested Schema : property
Type: array
Show Source
Nested Schema : resourceGroup
Type: array
Show Source
Nested Schema : ResourceGroupType
Type: object
Show Source
Nested Schema : property
Type: array
Show Source
Nested Schema : resource
Type: array
Show Source
Nested Schema : ResourceType
Type: object
Show Source
Nested Schema : property
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful operation

404 Response

Integration not found

412 Response

Already activated/deactivated or can't be activated/deactivated

500 Response

Server error
Back to Top

Examples

The following example shows how to update an integration by submitting a POST/PATCH request on the REST resource using cURL. For more information about cURL, see Use cURL. For more information about endpoint URL structure, see Send Requests.

curl -X POST -H 'Authorization: Bearer access_token' -H "Content-Type:application/json" \
-H "X-HTTP-Method-Override:PATCH" -d @update.json \
https://integration.us.oraclecloud.com/ic/api/integration/v1/integrations/{id}

Example of Request Body

The following example shows the contents of the request body in JSON format. This is the contents of the update.json file listed in the cURL command.

{"status":"ACTIVATED"}

Possible statuses are ACTIVATED for an active integration or CONFIGURED for an inactive integration.

Back to Top