Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/apigateway/create-rest-api.rst
1567 views
**To create an API**

Command::

  aws apigateway create-rest-api --name 'My First API' --description 'This is my first API'

**To create a duplicate API from an existing API**

Command::

  aws apigateway create-rest-api --name 'Copy of My First API' --description 'This is a copy of my first API' --clone-from 1234123412