looking at specific examples of rest call to remove devices from spectrum. Looking at this documentation does not provide me much details
https://docops.ca.com/ca-spectrum/10-2-3/en/programming/web-services-api-reference/how-to-use-the-ca-spectrum-web-services-api/restful-resources-nouns/model
The way to remove a device from Spectrum using the REST API is to use the following URL with the http DELETE method.
http://<hostname><:portnumber>/spectrum/restful/model/<model_handle>
For example:
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.