The nitro api
command provides a set of subcommands that allow you to manage APIs.
Create an API
The nitro api create
command is used to create a new API.
nitro api create
Delete an API
The nitro api delete
command is used to delete an API by its ID.
nitro api delete abc123
Arguments:
<id>
: Specifies the ID of the API you want to delete.
List all APIs
The nitro api list
command is used to list all APIs of a workspace.
nitro api list
Show API Details
The nitro api show
command is used to show the details of an API.
nitro api show abc123
Arguments:
<id>
: Specifies the ID of the API whose details you want to see.
Set API Settings
The nitro api set-settings
command is used to set the settings of an API.
nitro api set-settings abc123
Arguments:
<id>
: Specifies the ID of the API whose settings you want to set.