Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.48 KB

File metadata and controls

49 lines (36 loc) · 1.48 KB

apigeecli apihub apis versions create

Create a new API Hub API Version

Synopsis

Create a new API Hub API Version

apigeecli apihub apis versions create [flags]

Examples

Create a new API Version: apigeecli apihub apis versions create -i $apVeriId --api-id $apiId \
	-f ./test/api-ver.json -r $region -p $project --default-token

Options

      --api-id string   API ID
  -f, --file string     Path to a file containing the API version definition
  -h, --help            help for create
  -i, --id string       API Version ID

Options inherited from parent commands

  -a, --account string   Path Service Account private key in JSON
      --api api          Sets the control plane API. Must be one of prod, autopush or staging; default is prod
      --default-token    Use Google default application credentials access token
      --disable-check    Disable check for newer versions
      --metadata-token   Metadata OAuth2 access token
      --no-output        Disable printing all statements to stdout
      --no-warnings      Disable printing warnings to stderr
  -o, --org string       Apigee organization name
      --print-output     Control printing of info log statements (default true)
  -r, --region string    API Hub region name
  -t, --token string     Google OAuth Token

SEE ALSO

Auto generated by spf13/cobra on 5-Jan-2026