Configuring the flow control CLI for REST API
You can use the API Security Enforcer (ASE) command-line interface (CLI) to update flow control parameters.
About this task
|
API security must be enabled for ASE flow control to work. For more information on enabling API security, see Enable API security. |
Steps
-
To update the client spike threshold, run the following command:
update_client_spike_threshold {api_id} {+ve digit/(second|minute|hour)}Example:
update_client_spike_threshold shop_api 5000/second
-
To update the server spike threshold, run the following command:
update_server_spike_threshold {api_id} {host:port} {+ve digit/(second|minute|hour)}Example:
update_server_spike_threshold shop_api 5000/second
-
To update the server connection quota, run the following command:
update_server_connection_quota {api_id} {host:port}{+ve digit}Example:
update_server_connection_quota shop_api 5000