Import(Add) an Integration

post

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

Imports a new integration that was previously exported. To submit an import request, the integration must not be present in the environment. If the integration was imported earlier, use Import(Replace) an Integration instead.

Importing an integration with a different user name or version than what was exported is not supported.

If you are using cURL, use the -F option to specify the file to import.

Request

Supported Media Types
Query Parameters
Form Parameters
Back to Top

Response

Supported Media Types

204 Response

Successful operation, no content sent, the Location header provides the URI for the newly created integration

400 Response

No file is uploaded

409 Response

Integration already exists

500 Response

Server error
Back to Top

Examples

The following example shows how to import an integration by submitting a POST 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: Import a new integration

curl -X POST -H 'Authorization: Bearer access_token' -H "Accept:application/json" -F file=@myIntegration.iar -F type=application/octet-stream https://integration.us.oraclecloud.com/ic/api/integration/v1/integrations/archive
Back to Top