1.0
1.0
scpcli application-apigateway access control create
--api_id <value>
--name <value>
--connected_stages <value>
--allowed_ip_addr <value>
[--description <value>]
Description
Create access control
State ACTIVE (DEPRECATED)
| Version | Supported Until |
|---|---|
| 1.0 | 20251231 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| api_id required | string | Api ID | - |
| name required | string | Access Control Name | DenyTest |
| connected_stages required | array | Connected Stages | dev,stg |
| allowed_ip_addr required | array | Allowed IP Address | 127.0.0.1/24,192.168.127.12 |
| description optional | string | Description | description |
Responses
| Name | Description | Example |
|---|---|---|
| id | Access Control ID | 27bb070b564349f8a31cc60734cc36a5 |
| allowed_ip_addr | Allowed IP Address | [‘127.0.0.1/24,192.168.127.12’] |
| connected_stages | Connected Stages | [‘dev,stg’] |
| created_at | Creation Date | 2024-05-19T00:23:17Z |
| description | Description | |
| name | Access Control Name | DenyTest |