Skip to main content

Move Mock API to Another Collection

mockforme allows you to easily move an API from one collection to another using the Move API feature. This helps you keep your mock API projects organized and modular, especially when managing multiple environments or teams.

How to Move a Mock API Between Collections

To transfer a mock API to a different collection:

  1. Go to the API listing page.
  2. Click on the More Actions button next to the API you want to move.
  3. Select the Move option from the dropdown menu.
  4. In the popup that appears, search for the target collection by name.
  5. Click the Move button to complete the transfer.

Step 1: Open the Move Option

Click the Move option from the dropdown menu:

Move mock API option in dropdown menu – mockforme

Step 2: Select the Target Collection

Search for the destination collection you want to move the API to:

Search and select target collection to move mock API

Step 3: API Moved Successfully

Once moved, you’ll see a confirmation message:

Mock API moved to another collection confirmation

Why You Might Need to Move an API to Another Collection

The Move API feature is designed to fix common organizational mistakes during development, such as:

  • An API was accidentally created in the wrong collection
  • The API was originally grouped in one collection, but now it logically belongs elsewhere
  • You're reorganizing your mock structure as your project evolves
  • You want to keep collections clean and consistent without deleting and recreating APIs

Instead of deleting and rebuilding endpoints, you can simply move them — saving time, reducing errors, and keeping your mock API environment tidy.