Forum Discussion
You'll find the Swagger docs for the API here. That should give you an idea of the API calls you are able to make: https://www.logicmonitor.com/support/rest-api-v3-swagger-documentation
There is some documentation here on how to work with the API: https://www.logicmonitor.com/support/rest-api-developers-guide/overview/using-logicmonitors-rest-api
For example, you can call /device/devices/<deviceid> with a DELETE method call and that will delete the device from monitoring. You do need to know what the deviceID is though, so you might need to first search for the device by name using a GET request to the /devices/devices endpoint with a filter
One word of warning with using accessID and accessKey... it can be a little complex to get the authentication working property as you have to generate a signature based on your request, time, endpoint you are querying and your credentials. You might be best off starting with using a Bearer token as you can just supply that in the headers.
What system/language are you hoping to integrate this with? Have you seen the Logic Monitor PowerShell module? If you're just looking to script something you can run yourself, this might be a good option.
https://github.com/logicmonitor/lm-powershell-module