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

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

RESPONSES

status: Created

{&quot;id&quot;:&quot;123&quot;,&quot;organizationId&quot;:&quot;2930418&quot;,&quot;confirmed&quot;:true,&quot;synchronous&quot;:false,&quot;status&quot;:{&quot;completed&quot;:false,&quot;failed&quot;:false,&quot;errors&quot;:[]},&quot;actions&quot;:[{&quot;resource&quot;:&quot;/devices/QXXX-XXXX-XXXX/switchPorts/3&quot;,&quot;operation&quot;:&quot;update&quot;,&quot;body&quot;:{&quot;enabled&quot;:false}}]}