LogMeIn Central Developer Center User Guide

POST a Deleted Host Report

Retrieve details of deleted hosts.

POST https://secure.logmein.com/public-api/v1/reports/deleted-hosts/

Headers

Type Description Required Notes
Authorization Contains your authorization information to allow authentication to a LogMeIn account. Required You must authenticate each API action you call with your CompanyID + PSK pair. See Authentication

Body

Note: When using a third-party API Development Environment, the body output must be set to application/json.
Element Description Type
startDate The date from which you want details of deleted hosts. datetime

Example

{ 
"startDate": "2018-03-01"
}                                      

Results

Element Description Type Notes
hostId The unique identifier of the host. number  
status The state of the subscription associated with the host. string Always returns a status of 'Deleted'.
hostName The Computer description given to the host. string  
deletedReason This is obsolete info. string Returns one of the following
  • Host deleted from website / API
  • Host software uninstall
  • Invalid Subscription
  • Account Cancel
deletedAt The date when the host was deleted. datetime  
installedAt The date when the host software was installed. datetime  

Example

[
    {
    "hostId": 1700494420,
    "status": "Deleted",
    "hostName": "TestComputer2",
    "deleteReason": "Host deleted from website / API",
    "deletedAt": "2018-07-05T11:30:00Z",
    "installedAt": "2016-10-20T11:29:00Z"
    }
]                                        

HTTP Responses

Code Description Notes
200 OK Successful call made.
400 Bad Request A required parameter may be missing.
409 Unauthorized The Authorization header may be missing or invalid.
415 Unsupported Media Type A request may have been made for any format other than JSON.
429 Too Many Requests The request may have been made for the action too many times.
500 Internal Server Error May return the following message: An error occurred. If this problem happens again, please contact customer support at https://logmein.com/support and quote the error code.