To rename an API, you must be the API owner or a collaborator with the Editor role.
To rename an API
-
Open the API page.
-
Click the API name. This will open the API Info panel.
-
Click
in the API Info panel.
-
Enter a new name for the API:
-
Click Rename API to confirm the renaming.
Notes
-
The API name is part of its URL on SwaggerHub. Renaming will change this URL. SwaggerHub will not redirect the old URL to the new one.
-
API collaborators get an email notification when an API is renamed.
-
If the renamed API has integrations configured, review the integration settings and then save the API again to trigger the integrations.
-
After renaming, you may need to perform additional actions. For example, if you use a Git repository whose name is based on the API name, you may want to rename that repository. This is not done automatically.