Hello Ben :smileyhappy:
API call is simple
1. Create a authentication header ( with NSX credentials)
2.Create a custom header with Content-Type as Application/xml . Output would be like below in rest api page

3. Fetch the current edge firewall config using Get call
https://nsxip/api/4.0/edges/edge-id/firewall/config(You can get the edge-id from NSX GUI or by doing a Get Operation on https://nsxip/api/4.0/edges/
4. In the Get operation output you will see below entry
<enableSynFloodProtection>false</enableSynFloodProtection>
5. Copy the entire config of previous get operation and edit the line of <enableSynFloodProtection>false</enableSynFloodProtection> to <enableSynFloodProtection>true</enableSynFloodProtection> and paste it in body
6. Do a PUT call to same URL https://nsxip/api/4.0/edges/edge-id/firewall/config
7. Once again do a GET call to same URL to confirm the change
Note: If you are really concerned about the steps- you can test it on a dummy edge with the same steps.