Authentication
All management calls to the SwaggerHub Portal APIs require ApiKey authentication.
Include the API key in the Authorization HTTP header of each request with the value Bearer {API_KEY}, replacing {API_Key} with the actual value of your ApiKey from SwaggerHub.
API Keys MUST be retrieved from the SwaggerHub organization linked to the portal instance. See here for information on how to retrieve an API Key from SwaggerHub.
Note: For administrative endpoints, the user associated with the API Key
MUSThave adesignerorownerrole within the organization, in order for an API request to be authorized.
Note: Certain non-administrative endpoints support anonymous access when a portal product is
public. Forprivateproducts , the user associated with the API KeyMUSThave at least aconsumerrole within the organization, in order for an API request to be authorized.