Contact Us 1-800-596-4880

Deleting API Specs and Fragments

logo cloud IDE Cloud IDE

logo desktop IDE Desktop IDE

Open Beta Release: The cloud IDE is in open beta. Any use of Anypoint Code Builder in its beta state is subject to the applicable beta services terms and conditions, available from the IDE.

Deleting API specs and fragments varies depending on the project creation date and project hosting.

  • To delete a design project hosted locally on Anypoint Code Builder, delete the entire project folder.

  • To delete a design project hosted on US cloud or EU cloud with an API spec imported from MuleSoft VCS, you must delete the project from MuleSoft VCS by accessing Design Center.

  • To delete a design project created with versions of Anypoint Code Builder released prior to February 2024 that required storage of the spec in the MuleSoft VCS, you must delete the project from MuleSoft VCS by accessing Design Center.

  • To delete a project hosted on JP cloud or CA cloud, you must use an Anypoint CLI command.

You must delete the previous project to reuse the project name for a new design project in Anypoint Code Builder.

Before You Begin

Delete an API Spec from Anypoint Code Builder

To delete an API project (API spec or API spec fragment) from Anypoint Code Builder:

  1. In the Explorer view, right-click on the folder and select File > Open Folder.

  2. Locate the folder for the project to delete.

  3. Right-click and select to delete the folder.

Delete an API Design Project

API design projects imported to Anypoint Code Builder from Design Center or created in Anypoint Code Builder before the February 2024 release automatically connect to MuleSoft VCS, which enables you to sync with a corresponding design project.

Design project names must be unique. To create a new design project with a name already used in Anypoint Code Builder, you must delete the existing project from the IDE.

To delete an API project (API spec or API spec fragment) from Anypoint Code Builder:

  1. In Anypoint Code Builder, delete the spec.

To delete a design project from Design Center:

  1. Navigate to Anypoint Platform and log in using your credentials.

    Show me how
  2. Select Design Center from the navigation panel.

  3. Select API Projects from the navigation panel.

  4. Select the project and click the (Delete Project) icon.

To delete a design project by using Anypoint CLI:

  1. Run this command:

designcenter:project:delete [flags] <name>

For more information, see delete design projects using Anypoint CLI.