...
The first version is automatically created when you create the API. However, you can create additional versions of your API and manage them.
Prerequisites
Your API specifications must be based on Open API Specification (OAS) 3.0 or 2.0.
You must have Write permissions to create an API.
...
To allow API users to try out your API,
A CORS Restriction policy must be defined.
If the CORS Setting » Enable Try Me setting is selected in the Developer Portal settings,
...
- The API must include a CORS Restriction policy
the default CORS Restriction policy is applied to all APIs in the Developer Portal.
Learn how to select the setting. You must be an Org Admin to modify the Developer Portal settings.If the CORS Setting » Enable Try Me setting is not selected or if you want to override the default CORS Restriction policy, you can add your own CORS Restriction policy to your API or API version.
Learn how to add and configure the CORS Restriction policy for "Try It Out".
The API must be published.
Learn how to publish your API.
...
To test the Try it out button for your API: Discovering APIs in the API Catalog#[inlineExtension]View-and-Try-Out-an-APICatalog
Deleting an API from the API Manager Console
...