- 07 Feb 2025
- Print
- DarkLight
Delete artifacts in ZOrgs
- Updated on 07 Feb 2025
- Print
- DarkLight
Use Zilliant CLI to efficiently delete unwanted artifacts in your Zilliant orgs and optimize performance of your environment.
Prerequisites
You must be running Version 1.0.0 or later of Zilliant CLI.
Procedure
To delete artifacts in a ZOrg, follow these steps:
Run the zdx project:create command to create a project on your computer.
Sign in to your ZOrg.
Run the zdx project:manifest:create command. Enter the ID of your ZOrg.
The command creates a manifest that lists metadata artifacts in the ZOrg.Run the zdx project:deploy:script:generate command. Enter the following values for the command parameters:
--start-manifest
—Path to the manifest that you generated in Step 3.--target-manifest
—Leave empty.
The command creates a script that lists artifacts to delete.
Use one of the following procedures to delete all artifacts or specific artifacts in your ZOrg.
Delete all artifacts
To delete all artifacts in your ZOrg, run the zdx project:deploy:start command. Enter the ID of your ZOrg and path to the script from Step 5.
Delete specific artifacts
Manually edit the script from Step 5. Include only those artifacts that you want to delete from your ZOrg.
Run the zdx project:deploy:start command. Enter the ID of your ZOrg and path to the edited script.