Update an Integration

post

/icsapis/v2/integrations/{id}

Updates an integration. Currently status is the only supported field to update.

Request

Supported Media Types
Path Parameters
Header Parameters
Body ()
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 : EndPointResource
Type: object
Show Source
Nested Schema : ConnectionBaseResource
Type: object
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

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

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 -u jstein:welcome1 -H "Content-Type:application/json" \
-H "X-HTTP-Method-Override:PATCH" -d @update.json \
https://integration.us.oraclecloud.com/icsapis/v2/integrations/FORTEST1|01.00.0000

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.