To remove a location from the group, use the following method:
POST /edge_groups/:edge_group_id/unassign.xml
POST /edge_groups/:edge_group_id/unassign.json
XML Request example
curl -i -X POST -u user:userpass http://onapp.test/edge_groups/1/unassign.xml -d '<location>175</location>' -H 'Accept:application/xml' -H 'Content-type:application/xml'
JSON Request example
curl -i -X POST -u user:userpass http://onapp.test/edge_groups/1/unassign.json -d '{"location":"175"}' -H 'Accept:application/json' -H 'Content-type:application/json'
Where you have to specify ID of a location you want to unassign.
You can retrieve the list of location IDs with the Get CDN Edge Group Details API call.