Skip to main content Skip to complementary content

Removing a component

Un-using a component

Remove a component from an element.

Procedure

  1. Go to the element from which you want to remove a component.
  2. Click the menu to the right of the component.
  3. Click Delete.

Results

Your component is no longer used in the element.
Information noteNote: This action does not delete your component from the COMPONENTS tab or from any other entity in your API.

Deleting a component

Delete a component and remove it from all elements that use it in your API.

Procedure

  1. Go to the COMPONENTS tab.
  2. Click the trash icon to the right of the component that you want to delete.
  3. 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.
  4. Click Continue.

    Example

    Confirmation dialog box.

Results

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.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!