Delete a Package
delete
/ic/api/integration/v1/packages/{packagename}
Deletes a package.
Request
Path Parameters
-
packagename(required): string
Package name
Query Parameters
-
integrationInstance(required): string
This is the name of the service instance. You can get this value from the About page where it is specified in the Service instance field.
There's no request body for this operation.
Back to TopResponse
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
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