Import(Replace) a Package

put

/ic/api/integration/v1/packages/archive

Updates an existing package 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) a Package instead.

Request

Supported Media Types
Query Parameters
Form Parameters
Back to Top

Response

Supported Media Types

200 Response

Successful operation

400 Response

No file is uploaded

404 Response

Package not found

412 Response

Can't be imported if integrations belonging to the package already exist and are ACTIVE or LOCKED.

500 Response

Server error
Back to Top

Examples

The following example shows how to update a package 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 package

curl -X PUT -H 'Authorization: Bearer access_token' -F file=@package.par -F type=application/octet-stream https://integration.us.oraclecloud.com/ic/api/integration/v1/packages/archive
Back to Top