CmdID / az / az apim / az apim api
az apim api create
Create an API Management API. Azure CLI reference
17 options Its page in the Azure CLI reference
Options
--api-idunique name of the api to be created--api-typeThe type of the API.--authorization-scopeSpecifies the OAuth operations scope.--authorization-server-idSpecifies the OAuth authorization server ID.--bearer-token-sending-methodsSpecifies the sending methods for bearer token.--descriptionDescription of the API.--display-nameDisplay name of the API to be created--open-id-provider-idSpecifies the openid in the authentication setting.--pathPath to the API--protocolsDescribes on which protocols the operations in this API can be invoked.--service-name, -nThe name of the API Management service instance.--service-urlAbsolute URL of the backend service implementing this API.--subscription-key-header-nameSpecifies the subscription key header name.--subscription-key-query-param-nameSpecifies the subscription key query string parameter name.--subscription-key-requiredSpecifies whether subscription key is required during call to this API, true - API is included into closed products only, false - API is included into open products alone, null - there is a mix of products.--subscription-requiredIf true, the API requires a subscription key on requests.--tagsspace-separated tags: key[=value] [key[=value] ...].