Forum Discussion

JohnJohnLX's avatar
JohnJohnLX
Frequent Visitor
8 months ago

Copy SwaggerHub to another SwaggerHub

Hi,

 

We need to copy the documentation in our SwaggerHub to another one due to change of our product brand (the Swagger link includes our old brand).

 

Is this possible? If yes, how can we do it in a simple way?

 

Thanks

John

1 Reply

  • KoenJans's avatar
    KoenJans
    Regular Visitor

    I am assuming you want to copy assets (APIs, templates and domains) from one swaggerhub organisation to another? You can't do this in one click but you can export/import the yaml files per asset or use the registry api (https://app.swaggerhub.com/apis-docs/swagger-hub/registry-api/) to make this happen with a script.

    However if it's just the link you want update you could also simply rename the organisation? It will change the links. But also, invalidate all your old links in other applications.