api.*.create_api(to create APIs in any workspace)
See the API reference for the full HTTP endpoint documentation.
Usage
Flags
string
required
Unique identifier for this API namespace within your workspace. Use descriptive names like
payment-service-prod or user-api-dev to clearly identify purpose and environment. Must be 3-255 characters, start with a letter, and contain only letters, numbers, dots, hyphens, and underscores.Global Flags
Examples
Output
Default output shows the request ID, followed by the created API:--output=json, the full response envelope is returned: