Delete resources

App Lifecycle Manager lets you delete SaaS offerings, unit kinds, units, releases, rollout kinds, rollouts, and tenants when you no longer need them. To inspect or update resource properties—such as available regions, labels, default releases, or maintenance pinning—without deleting resources, see Manage resources.

To protect data integrity, App Lifecycle Manager blocks deletion when another resource references the target. For example, you can't delete a unit kind while a unit references it.

App Lifecycle Manager resource dependency

This table describes the dependency relationships between App Lifecycle Manager resources. The resource in the header column can only be deleted if there are no resources from the header row that reference that resource instance. For example, a unit kind resource cannot be deleted if a unit or release is referencing the unit kind.

Resource type Dependent types Unit kind Unit Unit operation Release Rollout Kind Rollout Tenant SaaS offering Notes
Unit Kind X X
Unit X X X X
Unit Operation X X
Release X X
Rollout Kind X
Rollout X
Tenant X
SaaS offering X X

Before you begin

You should understand App Lifecycle Manager resource dependencies before you attempt to delete App Lifecycle Manager resources. A resource cannot exist without its dependencies.

Delete a SaaS offering

You cannot delete a SaaS offering if any dependent unit kinds or tenants reference it.

To delete a SaaS offering:

  1. Go to App Lifecycle Manager > SaaS offerings.

    Go to SaaS offerings

  2. In the Name column, select the SaaS offering you want to delete.

  3. Delete dependent unit kind resources. You can see a SaaS offering's dependent unit kind resources under the Unit kinds tab on the SaaS offering details page.

    For more information about deleting App Lifecycle Manager resources, see delete Unit kinds.

  4. On the SaaS offering details page, click Delete.

    You've successfully deleted a SaaS offering.

Delete a unit kind

You must delete any dependent unit and release resources before you delete a unit kind.

To delete a unit kind:

  1. Go to App Lifecycle Manager > Unit kinds.

    Go to Unit kinds

  2. In the Name column, select the unit kind you want to delete.

  3. If the unit kind has a default release configured, set Default release to No default release as described in Edit a unit kind.

  4. On the Unit kind details page, click Delete. A Delete unit kind dialog appears.

  5. Type the name of the unit kind you want to delete into the dialog.

  6. Click Delete to delete the unit kind.

    You've successfully deleted a unit kind resource.

Delete a unit

You must delete any dependent unit resources before you delete a unit.

To delete a unit:

  1. Go to App Lifecycle Manager > Units.

    Go to Units

  2. In the Name column, select the unit you want to delete.

  3. Delete dependent unit resources. You can see a unit's dependent resources under the Dependencies tab on the Unit details page.

  4. On the Unit details page, click Delete. A Delete unit dialog appears.

  5. Type the name of the unit you want to delete into the dialog.

  6. Click Delete to delete the unit.

    You've successfully deleted a unit resource.

Delete a unit operation

App Lifecycle Manager automatically deletes unit operations when you delete their associated unit. You cannot delete a unit operation if it's in progress.

Delete a release

You cannot delete a release if:

  • Provisioned units reference the release
  • The release is set as the default release of a unit kind resource

You must delete any dependent unit resources before you delete a release.

To delete a release:

  1. Go to App Lifecycle Manager > Releases.

    Go to Releases

  2. In the Name column, select the release you want to delete.

  3. Delete all dependent units. You can see a release's dependent units under the Units tab on the Release details page. For information about deleting units, see delete a Unit.

  4. Unset the default release field from any unit kinds that reference this release. For instructions, see Edit a unit kind.

  5. On the Release details page, click Delete. A Delete release dialog appears.

  6. Type the name of the release you want to delete into the dialog.

  7. Click Delete to delete the release.

    You've successfully deleted a release resource.

Delete a rollout kind

You cannot delete a rollout kind if it's referenced by any rollout resources.

To delete a rollout kind:

  1. Go to App Lifecycle Manager > Rollout kinds.

    Go to Rollout kinds

  2. In the Name column, select the rollout kind you want to delete.

  3. Delete all dependent rollouts. You can see a rollout kind's dependent rollout resources under the Rollouts tab on the Rollout kind details page. For information about deleting rollouts, see delete a Rollout.

  4. On the Rollout details page, click Delete. A Delete rollout kind dialog appears.

  5. Type the name of the rollout kind you want to delete into the dialog.

  6. Click Delete to delete the rollout kind.

    You've successfully deleted a rollout kind resource.

Delete a rollout

You cannot delete a rollout if it's running. You must stop a running rollout before you can delete it. When you delete a rollout, App Lifecycle Manager deletes all sub-rollouts created by the global root rollout.

To delete a rollout:

  1. Go to App Lifecycle Manager > Rollouts.

    Go to Rollouts

  2. In the Name column, select the rollout you want to delete.

  3. Delete any dependent unit operations resources. For more information about deleting unit operations, see Delete a unit operation.

  4. On the Rollout details page, click Delete. A Delete rollout dialog appears.

  5. Type the name of the rollout you want to delete into the dialog.

  6. Click Delete to delete the rollout.

    You've successfully deleted a rollout resource.

Delete a tenant

You cannot delete a tenant if any units (provisioned or unprovisioned) reference it.

To delete a tenant:

  1. Go to App Lifecycle Manager > Tenants.

    Go to Tenants

  2. In the Name column, select the tenant you want to delete.

  3. Disassociate or reassign any units from the tenant. For instructions, see Associate a unit with a tenant and Edit a unit.

  4. On the Tenant details page, click Delete. A Delete tenant dialog appears.

  5. Type the name of the tenant you want to delete into the dialog.

  6. Click Delete to delete the tenant.

    You've successfully deleted a tenant resource.

What's next