When fetching all the endpoints using the Sophos Central API, I noticed a discrepancy between the devices count on the Sophos Central interface and the number of items fetched by the API with the type: 'computer'.
Upon further investigation, I recognized the 6 extra endpoints fetched by the API as old ones I had deleted more than 6 months ago using the web interface and now when I try to delete them using the API in order to not have them show up unwanted, I get a 404 Not Found error from the delete request.
Any suggestions on how to deal with ghost endpoints?
URL = {data_region}/endpoint/v1/endpoints/{endpoint_id}
"Authorization": "Bearer {token}"
The delete request worked when I tried on an endpoint that still existed on the web interface, returning an empty object.
This thread was automatically locked due to age.