Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 2.75 KB

File metadata and controls

68 lines (47 loc) · 2.75 KB

Deleting API Specs and Fragments

reuse::partial$beta-banner.adoc

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.

Note
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

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.

  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.

See Also