1.0
1.0
scpcli application-apigateway stage create
--api_id <value>
--stage_name <value>
--deployment_id <value>
[--description <value>]
Description
Create stage
State ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|---|
| 1.0 | 20251231 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| api_id required | string | Api ID | 27bb070b564349f8a31cc60734cc36a5 |
| stage_name required | string | Name | test-stage |
| deployment_id required | string | Deployment ID | 27bb070b564349f8a31cc60734cc36a5 |
| description optional | string | Description | description |
Responses
| Name | Description | Example |
|---|---|---|
| active_deployment | Active Deployment | 2024-05-17T00:23:17Z |
| allow_credentials | Allow Credentials | True |
| allow_headers | Allow Headers | [‘Content-Type’, ‘Authorization’] |
| allow_methods | Allow Methods | [‘GET’, ‘POST’, ‘PUT’, ‘PATCH’] |
| allow_origins | Allow Origins | [’*’] |
| api_id | Api ID | 27bb070b564349f8a31cc60734cc36a5 |
| cors_enabled | Cors Enabled | False |
| created_at | Creation Date | |
| deployment_id | Deployment ID | 27bb070b564349f8a31cc60734cc36a5 |
| expose_headers | Expose Headers | [’test1’, ’test2’] |
| invoke_url | Invoke URL | http://test.com/stg |
| ip_restriction_enabled | IP Restriction Enabled | False |
| jwt_enabled | JWT Enabled | False |
| max_age | Max Age | 3600 |
| name | Stage Name | test-stage |