Delete a component and remove it from all elements that use it in your API.
- Go to the COMPONENTS tab.
- Click the trash icon to the right of the component that you want to delete.
Click Are you sure? to confirm.
If your component is used in any element of your API, a dialog box listing its dependencies is displayed. If you delete the component, it is removed from every element listed. If you delete a path variable component, the variable is inlined.
Your component is deleted and removed from every API entity in which it was used, unless it is a path variable. When a path variable component is deleted, the variable is inlined in every resource that uses it.