Delete custom extensions from Adobe Launch

Description

Delete an extension package

Resolution

Below is the API syntax to delete a package:

curl --location --request DELETE 'https://reactor.adobe.io/extension_packages/extension_package_id' \
<br>--header 'Accept: application/vnd.api+json;revision=1' \
<br>--header 'Content-Type: application/vnd.api+json' \
<br>--header 'Authorization: Bearer TOKEN' \
<br>--header 'X-Api-Key: CLIENT_ID' \
<br>--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-create, 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.

On this page