New

Remove "All Endpoints on a Site" Option


Currently, certain API calls such as /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints/deactivate and /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints/reactivate will deactivate/reactivate ALL endpoints if the EndpointId is not provided.  It's possible that someone, ahem, might screw up and deactivate all of their endpoints by accident.  It would be great if the "Delete All" feature was either a different POST variable (e.g. DeleteAll = Yes) or a completely sepereate API call.
 
Just my two cents.

2 replies

Userlevel 1
I ran into this myself. I did screw it up, but that's because I missed the plural 's' of Endpoints in "EndpointsList". So that was a fun one to fix.
 
It has been a couple months since I triggered that API call, but if I remember correctly, my latest test had it deactivating endpoints with surgical precision, as expected.
 
B
Badge
Hi, I do understand your point here and will add to our investigations backlog.

Reply

    Cookie policy

    We use cookies to enhance and personalize your experience. If you accept or continue browsing you agree to our cookie policy. Learn more about our cookies.

    Accept cookies Cookie settings