Delete a Package
delete
/ic/api/integration/v1/packages/{packagename}
Deletes a package.
Request
Supported Media Types
- application/json; charset=utf-8
Path Parameters
-
packagename: string
Package name
Response
Supported Media Types
- application/json; charset=utf-8
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://integration.us.oraclecloud.com/ic/api/integration/v1/packages/samples.oracle.helloworld