Updates STP Settings

PUT {{baseUrl}}/networks/:networkId/switch/stp

Updates STP settings #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: rstpEnabled| boolean| The spanning tree protocol status in network stpBridgePriority| array| STP bridge priority for switches/stacks or switch profiles. An empty array will clear the STP bridge priority settings.

Supports Action Batches

ResourceOperation
/networks/{networkId}/switch/stpupdate

Request Body

{"rstpEnabled"=>"<boolean>", "stpBridgePriority"=>[{"stpPriority"=>"<integer>", "switchProfiles"=>["<string>", "<string>"], "switches"=>["<string>", "<string>"], "stacks"=>["<string>", "<string>"]}, {"stpPriority"=>"<integer>", "switchProfiles"=>["<string>", "<string>"], "switches"=>["<string>", "<string>"], "stacks"=>["<string>", "<string>"]}]}

HEADERS

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

RESPONSES

status: OK

{&quot;rstpEnabled&quot;:true,&quot;stpBridgePriority&quot;:[{&quot;switches&quot;:[&quot;Q234-ABCD-0001&quot;,&quot;Q234-ABCD-0002&quot;,&quot;Q234-ABCD-0003&quot;],&quot;stpPriority&quot;:4096},{&quot;stacks&quot;:[&quot;789102&quot;,&quot;123456&quot;,&quot;129102&quot;],&quot;stpPriority&quot;:28672}]}