Import (Replace) an Integration

put

/ic/api/integration/v1/integrations/archive

Updates an existing integration with the same name that was exported previously. If you are using cURL, use the -F option to specify the file to import. If this command returns with HTTP 404, use Import (Add) an Integration instead.

Request

Query Parameters
Supported Media Types
Request Body - multipart/form-data ()
Root Schema : schema
Type: object
Show Source
Back to Top

Response

200 Response

Successful operation

400 Response

No file is uploaded

404 Response

Integration not found

500 Response

Server error
Back to Top

Examples

The following example shows how to update an integration by submitting a PUT 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.

Example: Update an existing integration

curl -X PUT -H 'Authorization: Bearer access_token' -H "Accept:application/json" -F file=@myIntegration.iar -F type=application/octet-stream https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/integrations/archive?integrationInstance=service-instance
Back to Top