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)

VersionSupported Until
1.020251231

Parameters

NameTypeDescriptionExample
api_id
required
stringApi ID27bb070b564349f8a31cc60734cc36a5
stage_name
required
stringNametest-stage
deployment_id
required
stringDeployment ID27bb070b564349f8a31cc60734cc36a5
description
optional
stringDescriptiondescription

Responses

NameDescriptionExample
active_deploymentActive Deployment2024-05-17T00:23:17Z
allow_credentialsAllow CredentialsTrue
allow_headersAllow Headers[‘Content-Type’, ‘Authorization’]
allow_methodsAllow Methods[‘GET’, ‘POST’, ‘PUT’, ‘PATCH’]
allow_originsAllow Origins[’*’]
api_idApi ID27bb070b564349f8a31cc60734cc36a5
cors_enabledCors EnabledFalse
created_atCreation Date
deployment_idDeployment ID27bb070b564349f8a31cc60734cc36a5
expose_headersExpose Headers[’test1’, ’test2’]
invoke_urlInvoke URLhttp://test.com/stg
ip_restriction_enabledIP Restriction EnabledFalse
jwt_enabledJWT EnabledFalse
max_ageMax Age3600
nameStage Nametest-stage