Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Deleting Cosmos DX components

Updated on May 27, 2022

Free up space and make the navigation easier by deleting unused or obsolete custom components either locally or on the Pega Infinity Server. You can delete both published and unpublished components.

Before you begin:
  • Ensure that you have authentication to access the resources in the Pega Infinity Server to list, publish, or delete components. For more information, see Authenticating Pega Infinity Server user access.

  • Ensure that the associated ruleset is open. Otherwise the ruleset is not deleted and still displays in App Studio.

  1. Open your preferred terminal tool.
  2. Enter npm run delete.
  3. Select the location from which you want to delete the components:
    • Local for components in your local project.
    • Server for components that are already published.
  4. Choose the component you want to delete.
  5. Enter yes.
Result: The component is deleted from the server and removed from the ruleset, and is no longer available in App Studio.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us