Add and Delete APIs and Domains From Projects
A project is a group of an organization’s APIs and domains. A single API or domain can belong to multiple projects.
Add to a new project
Applies to: Organization owners
See Creating Projects.
Add to an existing project
When creating APIs or domains
Applies to: Organization owners, Designers with Create permissions
SwaggerHub On-Premise note: Requires v. 1.23 or later.
When you create, import, or fork definitions into an organization, you have the option to add this definition to an existing project:
Via project settings
Applies to: Organization owners
Select the project in the SwaggerHub sidebar, then click Settings next to the project name.
Use the search box to find the API or domain you want to add and click it in the list to add it.
Important
The list displays the APIs and domains owned by your organization. If you do not see an API or domain in the drop-down list, you may need to transfer the ownership to your organization.
Via editor
Applies to: Organization owners, Designers with Create permissions
SwaggerHub On-Premise note: Requires v. 1.23 or later.
Open an organization-owned API or domain in the SwaggerHub editor.
Click the API or domain name to open the Info panel.
Click Manage Owner & Project.
Select the project to which you want to add this API or domain. The list contains the projects that you are a member of.
Select the Yes, I want to proceed check box.
Click Save.
Note
If the current API or domain is already part of another project, it will remain in that project as well.
Delete APIs and domains from a project
Applies to: Organization owners
Open the project setting page (see above).
Click next to the API or domain you want to delete from the project:
Note
This does not delete the actual API or domain. See Deleting APIs to learn how to delete APIs and domains from SwaggerHub.