Create An Action Batch
POST {{baseUrl}}/organizations/:organizationId/actionBatches
Create an action batch #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: confirmed| boolean| Set to true for immediate execution. Set to false if the action should be previewed before executing. This property cannot be unset once it is true. Defaults to false. synchronous| boolean| Set to true to force the batch to run synchronous. There can be at most 20 actions in synchronous batch. Defaults to false. actions| array| A set of changes to make as part of this action (more details)
Request Body
{"actions"=>[{"resource"=>"<string>", "operation"=>"<string>", "body"=>{}}, {"resource"=>"<string>", "operation"=>"<string>", "body"=>{}}], "confirmed"=>"<boolean>", "synchronous"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: Created
{"id":"123","organizationId":"2930418","confirmed":true,"synchronous":false,"status":{"completed":false,"failed":false,"errors":[]},"actions":[{"resource":"/devices/QXXX-XXXX-XXXX/switchPorts/3","operation":"update","body":{"enabled":false}}]}