Adobe Experience Cloud
Delete an extension package from Adobe Launch.
Below is the API syntax to delete a package:
curl --location --request DELETE ‘https://reactor.adobe.io/extension_packages/extension_package_id’
–header ‘Accept: application/vnd.api+json;revision=1’
–header ‘Content-Type: application/vnd.api+json’
–header ‘Authorization: Bearer TOKEN’
–header ‘X-Api-Key: CLIENT_ID’
–header ‘X-Gw-Ims-Org-Id: ORG_ID’
If an extension has development availability it can be deleted using the API. If it has private or public availability, it cannot be deleted as it may be in use and deleting it would cause existing libraries to fail. Further, an extension package can be discontinued to prevent further use. And that discontinued extension_packages will no longer show up in the catalogue.
If any extension package (created extensions using it) is installed on any development properties, deleting it could cause issues. Development properties/libraries should not be used for production purposes. The usages of that extension package can either be cleaned up from those libraries on those development properties or deleted from those development properties and re-created, whichever takes less effort.
To know the extension package ID, you could use API to retrieve the list. That will have the extension package ID as well as the availability status in the response. Here’s a help doc that lists all the API syntax including the syntax to discontinue (except the above delete operation) the extension packages.