Action - Set Connection Limit

Set connection limit action on one or more ADC objects for which the action applies to.

Supported on the following object types:

  • F5 – LTM servers

URL: /adc-device-object-action-connectionlimit

Type: PUT

Parameter

Param Type Name Description Field Type
Header sessionId ** Session Id received after login String
Query Gwkey Tenant Key. Needed only in case of multitenant installations String
Query gwsource** Source from which the request is triggered (for example, web, external) String
Payload objectIds** Resource id of the objects. Note: Use the search API to search/get the resource id String[]
Payload connectionLimit Connection limit to set String

** - Mandatory value

Possible Response Message and Code

HTTP Code Description Response Message
202 Accepted The action triggered for the following <#> objects …
400 Bad request No objects found to perform the action
403 Forbidden No given object(s) have Read or Write permission

Sample Request/Response

Use Case

Set a connection limit of 4 on objects with resource id obj_1 and obj_2.

Request URL

http://appviewxapi.com/avxapi/adc-device-object-action-connectionlimit?gwkey=f000ca01&gwsource=external

Request Payload

{

"payload": {

"objectIds": [

"obj_1", "obj_2"

],

"connectionLimit": "4"

}

}

Response

{ "response": "Action triggered successfully.", "message": "Action triggered for the following 2 objects : obj_1,obj_2" }