How do updates change objects?

je_hpf
Comes here often

How do updates change objects?

I don't have a lab system to test out on unfortunately.

 

Say I create a group policy using this call.

 

Then say I "update" that group policy using this call. When I use the latter, will it overwrite/replace the group policy with what I supply, or will it only update the individual exceptions?

 

For example say I create a group policy with some scheduling options. Then I update the policy and only supply some L3 firewall rules. If I don't specify the scheduling options in my body for the update, will they be replaced with $null (removed)?

2 Replies 2
Ryan_Miles
Meraki Employee
Meraki Employee

You should be able to test this even in an empty org. Meaning, create a new org that has no hardware or licenses. Enable API in this new org and run your commands.

John-K
Meraki Employee
Meraki Employee

Ry's right! General rule is this: if you specify a field that's not required, we'll overwrite it. If you leave it out, we generally won't overwrite it. This is pretty consistent across API AFAIK.

Get notified when there are additional replies to this discussion.