Delete a Package

delete

/ic/api/integration/v1/packages/{packagename}

Deletes a package.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

200 Response

Successful operation

404 Response

Package not found

412 Response

Package can't be deleted if it's of type DEVELOPED, or if any integration belonging to the package is ACTIVE or LOCKED.

500 Response

Server error
Back to Top

Examples

The following examples show how to delete a package by submitting a DELETE 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: Delete a package

curl -X DELETE -H 'Authorization: Bearer access_token' -H "Accept:application/json" https://design.integration.region.ocp.oraclecloud.com/ic/api/integration/v1/packages/samples.oracle.helloworld?integrationInstance=service-instance
Back to Top