Create A Link Aggregation Group

POST {{baseUrl}}/networks/:networkId/switch/linkAggregations

Create a link aggregation group #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: switchPorts| array| Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported. switchProfilePorts| array| Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.

Supports Action Batches

ResourceOperation
/networks/{networkId}/switch/linkAggregationscreate

Request Body

{"switchPorts"=>[{"serial"=>"<string>", "portId"=>"<string>"}, {"serial"=>"<string>", "portId"=>"<string>"}], "switchProfilePorts"=>[{"profile"=>"<string>", "portId"=>"<string>"}, {"profile"=>"<string>", "portId"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull
Content-Typestring

RESPONSES

status: Created

{&quot;id&quot;:&quot;NDU2N18yXzM=&quot;,&quot;switchPorts&quot;:[{&quot;serial&quot;:&quot;Q234-ABCD-0001&quot;,&quot;portId&quot;:&quot;1&quot;},{&quot;serial&quot;:&quot;Q234-ABCD-0002&quot;,&quot;portId&quot;:&quot;2&quot;},{&quot;serial&quot;:&quot;Q234-ABCD-0003&quot;,&quot;portId&quot;:&quot;3&quot;},{&quot;serial&quot;:&quot;Q234-ABCD-0004&quot;,&quot;portId&quot;:&quot;4&quot;},{&quot;serial&quot;:&quot;Q234-ABCD-0005&quot;,&quot;portId&quot;:&quot;5&quot;},{&quot;serial&quot;:&quot;Q234-ABCD-0006&quot;,&quot;portId&quot;:&quot;6&quot;},{&quot;serial&quot;:&quot;Q234-ABCD-0007&quot;,&quot;portId&quot;:&quot;7&quot;},{&quot;serial&quot;:&quot;Q234-ABCD-0008&quot;,&quot;portId&quot;:&quot;8&quot;}]}