looking at specific examples of rest call to remove devices from spectrum. Looking at this documentation does not provide me much details
The way to remove a device from Spectrum using the REST API is to use the following URL with the http DELETE method.
curl -H "Content-Type: application/xml" -X DELETE "http://spectrum:spectrum@localhost:8080/spectrum/restful/model/0x5400000
This command would delete the model with the model handle of 0x54000000.