LogMeIn Central Developer Center
Welcome to the Central Developer Center
Prerequisites
- A LogMeIn Central subscription (paid or trial)
Authentication
Checking your Credentials
Check if your credentials are valid by using the following command with your Company ID and PSK:
GET https://secure.logmein.com/public-api/v1/authentication
Headers
The Headers use Basic Authorization with the following format:
Authorization: Basic base64(companyId + ":" + PSK)
Results
| Status Code | Description | Notes |
| 200 | The API call is Successful | The result of the API call will show in the body of the API call as either True or False: { "success": true|false } |
Example
|
Host Actions API
GET Hosts
GET https://secure.logmein.com/public-api/v2/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 |
Results
| Element | Description | Type |
| hosts | Lists all hosts. | array |
| description | The Computer description given to the host. | string |
| hostName | The Computer name of the physical host as displayed on the Computer Properties page. On Windows computers, this is called "Device name"; on a Mac, this is called "Name". | string |
| id | A unique ID number for the host. | integer |
| isHostOnline | Indicates if the host computer is online. The system pings the device and returns TRUE if a response is returned within a reasonable time. | boolean |
Example
|
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. |
GET Hosts and Computer Groups
GET https://secure.logmein.com/public-api/v2/hostswithgroups
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 |
Response Body
| Element | Description | Type |
| groups | List of Computer Groups. | array |
| id | A unique id number for the Computer Group. | integer |
| name | The group name given to the Computer Group. | string |
| hosts | Lists all hosts. | array |
| description | The Computer description given to the host. | string |
| groupid | The id of the Computer group of which the host is a member. The groupid is the same as the id under groups. | string |
| id | A unique ID number for the host. | integer |
| isHostOnline | Indicates if the host computer is online. The system pings the device and returns TRUE if a response is returned within a reasonable time. | boolean |
Example
200-Success
{
"groups": [
{
"id": 49932,
"name": "Work Computers"
},
{
"id": 49933,
"name": "Home Computers"
},
{
"id": -1,
"name": null
}
],
"hosts": [
{
"description": "Workhorse",
"groupid" : 49932,
"hostStateChangeDate": "2023-10-06T20:36:00Z",
"id": <host-id1>,
"isHostOnline" : true
},
{
"description": "Kitty's machine",
"groupid" : 49933,
"hostStateChangeDate": "2023-10-06T20:36:00Z",
"id": <host-id2>,
"isHostOnline" : false
},
... ]
}
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. |
PUT a new Description for the Host
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 |
Request body
| Element | Description | Type |
| newDescription | The new Computer Description you want to give the host computer. | string |
Example
{
"newDescription" : “Office Computer”
}
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. |
PUT hosts into different groups
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
| Element | Description | Type |
| hostIds | The hosts you want to move into the computer group. You can define multiple hosts. | integer |
Example
|
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. |
POST a Connection to a Host
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
| Element | Description | Type |
| directLink | Creates a direct link to the host | boolean |
| failWhenRaSessionInProgress | Sets whether a connection is still made if the host computer already has a live session connected to it | boolean |
Example
|
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. |
DELETE 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
| Element | Description | Type |
| hostIds | The hosts you want to move into the computer group. You can define multiple hosts. | Integer |
Example
|
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. |
System Inventory API
GET a list of System Inventory fields
Return a list of available System inventory fields. For more information on System inventory, see report types.
GET https://secure.logmein.com/public-api/v1/inventory/system/fields
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 |
Results
Example
|
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. |
POST a new System Inventory report
For more information on System inventory, see report types.
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
| Element | Description | Type |
| hostIds | The hosts you want information about. You can define multiple hosts | integer |
| fields | The System Inventory fields you want information about. You can define multiple fields. For a full list of fields, run the GET a list of System Inventory fields API. | string |
Example
|
Results
| Element | Description | Type |
| expires | the date when the token expires. | date |
| token | The report token generated for the System Inventory report. | string |
Example
|
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. |
GET an Active System Inventory Report Token
GET https://secure.logmein.com/public-api/v1/inventory/system/reports
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 |
Results
| Element | Description | Type |
| expires | the date when the token expires. | date |
| token | The report token generated for the System Inventory report. | string |
Example
|
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. |
GET a Generated System Inventory Report
GET https://secure.logmein.com/public-api/v1/inventory/system/reports/{systemInvReportToken}
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 |
Results
| Element | Description | Type |
| report | the details of the report generated by the API call. | array |
| expires | the date when the token expires. | date |
| token | The report token generated for the System Inventory report. | string |
| hosts | The hosts that you requested to see with the requested fields made in your previous POST a new System Inventory report API request. | array |
Example
|
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. |
Hardware Inventory API
GET a list of Hardware Inventory fields
Return a list of available System inventory fields. For more information on System inventory, see report types.
GET https://secure.logmein.com/public-api/v1/inventory/hardware/fields
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 |
Results
Example
|
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. |
POST a new Hardware Inventory report
For more information on System inventory, see report types.
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
| Element | Description | Type |
| hostIds | The hosts you want information about. You can define multiple hosts. | integer |
| fields | The System Inventory fields you want information about. You can define multiple fields. For a full list of fields, run the GET a list of Hardware Inventory fields API. | string |
Example
|
Results
| Element | Description | Type |
| expires | the date when the token expires. | date |
| token | The report token generated for the System Inventory report. | string |
Example
|
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. |
GET an Active Hardware Inventory Report Token
GET https://secure.logmein.com/public-api/v1/inventory/hardware/reports
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 |
Results
| Element | Description | Type |
| expires | the date when the token expires. | date |
| token | The report token generated for the System Inventory report. | string |
Example
|
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. |
GET a Generated Hardware Inventory Report
GET https://secure.logmein.com/public-api/v1/inventory/hardware/reports/{hardwareInvReportToken}
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 |
Results
| Element | Description | Type |
| report | the details of the report generated by the API call. | array |
| expires | the date when the token expires. | date |
| token | The report token generated for the System Inventory report. | string |
| hosts | The hosts that you requested to see with the requested fields made in your previous POST a new Hardware Inventory report API request. | array |
Example
|
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. |
Anti-Virus API
LogMeIn Central lets you monitor anti-virus software on your hosts. For more information, see powered by Bitdefender.
Supported anti-virus software
| Support level | Description |
|---|---|
| Full support | For anti-virus software that is fully supported:
|
| Partial support | For anti-virus software that is partially supported:
|
| Minimal support | GoTo can only read whether or not the virus definition is up-to-date. |
GET Anti-Virus Details Installed on Hosts
GET https://secure.logmein.com/public-api/v1/hosts/anti-virus/details
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 |
Results
| Element | Description | Type | Notes |
| hostsGroups | Lists of Computer Groups in your LogMeIn Central account. | array | |
| groupId | A unique id number for the Computer Group. | integer | |
| groupName | The group name given to the Computer Group. | string | |
| isCollapsed | Indicates if the computer group is open or closed in the User Interface on your LogMeIn Central website account. | integer | |
| hosts | Lists all hosts. | array | |
| hostDescription | The Computer description given to the host. | string | |
| groupId | A unique id number for the Computer Group. | integer | |
| isOnline | Indicates if the host computer is online. The system pings the device and returns TRUE if a response is returned within a reasonable time. | boolean | |
| buildNumber | The build number of the Operating System on the host. | integer | |
| isMac | Indicates if the host is a mac. | boolean | |
| hostId | A unique ID number for the host. | integer | |
| antiVirusStatus | The status of the anti-virus software installed on the host. | integer |
|
| antiVirusName | The name of the anti-virus installed on the host. | string | |
| isRealTimeProtectionOn | Indicates whether the installed anti-virus' Real-time protection is on. | boolean | |
| isVirusDefinitionUpToDate | Indicates whether the installed anti-virus' virus definition is on. | boolean | |
| virusDefinitionVersion | the version number of the virus definition installed on the host. | string | |
| lastFullScanTime | The date when a full scan was performed by the antri-virus installed on the host. | date | |
| numberOfThreats | integer | ||
| isMultipleAntiVirusDetected | Indicates whether or not multiple anti-virus software are installed on the host. | boolean | |
| canReportThreatLog | Indicates whether a Threat Log is available on the host. | boolean | |
| canReportRealTimeProtectionStatus | Indicates whether Real-Time protection is available on the host. | boolean |
Example
|
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. |
POST an Enable Real-Time Protection Command to Installed Antivirus
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
| Element | Description | Type |
| targetHostIds | the hosts to which you want to send the command. You can select multiple hosts. | number |
Example
|
Results
| Element | Description | Type |
| commandStatuses | the status of the commands sent to the hosts. | array |
| targetHostId | the host to which the command is sent. | number |
| sentSuccessfully | Tells you whether or not the command is sent. | boolean |
Example
|
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. |
POST a Full Scan command to Installed Antivirus
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
| Element | Description | Type |
| targetHostIds | the hosts to which you want to send the command. You can select multiple hosts. | number |
Example
|
Results
| Element | Description | Type |
| commandStatuses | the status of the commands sent to the hosts. | array |
| targetHostId | the host to which the command is sent. | number |
| sentSuccessfully | Tells you whether or not the command is sent. | boolean |
Example
|
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. |
POST a Refresh Status command to Antivirus
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
| Element | Description | Type |
| targetHostIds | the hosts to which you want to send the command. You can select multiple hosts. | number |
Example
|
Results
| Element | Description | Type |
| commandStatuses | the status of the commands sent to the hosts. | array |
| targetHostId | the host to which the command is sent. | number |
| sentSuccessfully | Tells you whether or not the command is sent. | boolean |
Example
|
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. |
POST an Update Virus Definition Command to an Antivirus
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
| Element | Description | Type |
| targetHostIds | the hosts to which you want to send the command. You can select multiple hosts. | number |
Example
|
Results
| Element | Description | Type |
| commandStatuses | the status of the commands sent to the hosts. | array |
| targetHostId | the host to which the command is sent. | number |
| sentSuccessfully | Tells you whether or not the command is sent. | boolean |
Example
|
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. |
Users API
Get a List of Users
GET https://secure.logmein.com/public-api/v2/users
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 |
Response Body
| Element | Description | Type |
| mahData | Details for the Master Account Holder of the LogMeIn Central account. | array |
| usersData | List for the users in your LogMeIn Central Account. | |
| isPending | Indicates whether the invitations sent to the user is waiting for a reply. | boolean |
| id | A unique id number for the user. | integer |
| The email address of the user. | string | |
| firstName | The first name set by the user. | string |
| lastName | The last name set by the user. | string |
| isEnabled | Indicates whether the user has accepted the user invitation. Its value is false in the following cases:
|
boolean |
| lastLoginDate | The last time the user logged into their LogMeIn Central account. | date |
Example:
{
"mahData": {
"id": 1701441668,
"email": "example@company.com",
"firstName": "James T.",
"lastName": "Boss",
"isEnabled": true,
"lastLoginDate": "10/19/2023 1:15:56 PM"
},
"usersData": [
{
"isPending": false,
"id": 1701472698,
"email": "john.doe@gmail.com",
"firstName": "John",
"lastName": "Doe",
"isEnabled": true,
"lastLoginDate": "7/24/2023 1:58:36 PM"
}
]
}
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. |
Get several users' details
POST https://secure.logmein.com/public-api/v3/users/details
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 |
Request body
Define a list of email addresses in a JSON array to get the details of.
["user1@emailaddress.com", "user2@emailaddress.com"]
Response Body
| Element | Description | Type |
| id | A unique ID number for the user. | integer |
| The email address of the user. | string | |
| firstName | The first name set by the user. | string |
| lastName | The last name set by the user. | string |
| groupId | The ID of the group the user belongs to. The value is -1 when the user is a member of the default group. | integer |
| enabled | Indicates whether the user has accepted the user invitation. Possible values are true and false. | boolean |
| userPermissions | Sets user permissions as described in User Permissions. | array |
| inheritedGroupPermissions | Sets user group permissions as described in User Group Permissions. | array |
Example:
{
[
{
"id": 1701472698
"email": "john.doe@gmail.com",
"firstName": "John",
"lastName": "Doe",
"groupId": -1,
"enabled": true,
"userPermissions": {permissions},
"inheritedGroupPermissions": {permissions}
}
]
HTTP responses
| Code | Description | Notes |
| 200 | OK | Successful call made. |
| 400 | Bad Request | The number of email addresses in the API call is either zero or more than 50. |
| 404 | Not found | One or more users provided in the list of email address do not exist. |
Invite users
POST https://secure.logmein.com/public-api/v3/users/invitation
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 |
Request body
{
"emails": ["john.doe@company.com", jane.doe@company.com],
"groupId": -1,
"permissions": {
<Permissions object>,
},
}
| Element | Description | Type |
| emails | The email addresses of the users. | array |
| groupId | The ID of the group the user belongs to. Use the value is -1 to add users to the default group.
Note: To get a list of groups and their IDs, run the GET Hosts and Computer Groups API.
|
integer |
| permissions | Sets user permissions as described in User Permissions. | array |
Response body
Example:
{
"notInvitedEmails": ["<email1>", ...]
}Where
notInvitedEmails contains the email addresses of those users who have already been invited or are active in the LogMeIn Central account.
HTTP responses
| Code | Description | Notes |
| 200 | OK | The invite was successfully created. |
| 400 | Bad Request |
|
Update user settings
PUT https://secure.logmein.com/public-api/v3/users/details/set
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 |
Request body
{
"email": "testemail@company.com",
"groupId": 671701,
"permissions": []
}
| Element | Description | Type |
| The email address of the user. | string | |
| groupId | The ID of the group the user belongs to. Use the value is -1 to add users to the default group. | integer |
| permissions | Sets user permissions as described in User Permissions. In the permissions object you only need to define the permission you would like to update. |
array |
Response body
Example
200 - OK
HTTP responses
| Code | Description | Notes |
| 200 | OK | Successful call made. |
| 400 | Bad Request | One of the following occurred:
|
| 404 | Not found | User was not found. |
Enable users
POST https://secure.logmein.com/public-api/v3/users/enable
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 |
Request body
List of emails in a JSON array.
["user1@emailaddress.com", "user2@emailaddress.com"]
Response body
Example
200 - OK
HTTP responses
| Code | Description | Notes |
| 200 | OK | Users were successfully enabled. |
| 400 | Bad Request | One of the following occurred:
|
| 404 | Not found | User was not found. |
Disable users
POST https://secure.logmein.com/public-api/v3/users/disable
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 |
Request body
List of emails in a JSON array.
["user1@emailaddress.com", "user2@emailaddress.com"]
Response body
Example
200 - OK
HTTP responses
| Code | Description | Notes |
| 200 | OK | Users were successfully disabled. |
| 400 | Bad Request | One of the following occurred:
|
| 404 | Not found | User was not found. |
Delete users
DELETE https://secure.logmein.com/public-api/v3/users/
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 |
Request body
List of emails in a JSON array.
["user1@emailaddress.com", "user2@emailaddress.com"]
Response body
Example
204 - No content
HTTP responses
| Code | Description | Notes |
| 204 | No content | Users were successfully deleted. |
| 400 | Bad Request | One of the following occurred:
|
User Permissions
You can set the following user permissions. For detailed description of these permissions, see the LogMeIn Central support site.
{
"grantAll": true|false,
"central": {
"enableCentral": true|false,
"reports": true|false,
"alertManagement": true|false,
"configurationManagement": true|false,
"computerGroupManagement": true|false,
"viewInventoryData": true|false,
"inventoryManagement": true|false,
"one2manyManagement": true|false,
"one2manyRun": true|false,
"windowsUpdateManagement": true|false,
"applicationUpdateManagement": true|false,
"antivirusManagement": true|false,
"remoteExecution": true|false,
"remoteExecutionCreateAndRun": true|false
},
"management": {
"userManagement": true|false,
"loginPolicyManagement": true|false,
"saveLoginCredentials": true|false,
"createDesktopShortcut": true|false,
"deployment": true|false,
"adhocSupport": true|false,
"accountSecurity": true|false
},
"interface": "advanced"|"simple",
"groupAndComputerPermissions": {
"allowFullRemoteControl": true|false,
"computerPermission": "groupSettings"|"accessall"|"specified",
"permittedGroupIds": [<computerGroupId1>, ...],
"permittedHostIds": [<hostId1>, ...]
},
"network": {
"accessNetworks": true|false,
"networkAndClientManagement": true|false,
"editClientDefaults": true|false,
"editNetworkDefaults": true|false,
},
"enforceTfa": true|false
}
User Group Permissions
You can set the following user group permissions. For detailed description of these permissions, see the LogMeIn Central support site.
{
"grantAll": true|false,
"central": {
"enableCentral": true|false,
"reports": true|false,
"alertManagement": true|false,
"configurationManagement": true|false,
"computerGroupManagement": true|false,
"viewInventoryData": true|false,
"inventoryManagement": true|false,
"one2manyManagement": true|false,
"one2manyRun": true|false,
"windowsUpdateManagement": true|false,
"applicationUpdateManagement": true|false,
"antivirusManagement": true|false,
"remoteExecution": true|false,
"remoteExecutionCreateAndRun": true|false
},
"management": {
"userManagement": true|false,
"loginPolicyManagement": true|false,
"saveLoginCredentials": true|false,
"createDesktopShortcut": true|false,
"deployment": true|false,
"adhocSupport": true|false,
"accountSecurity": true|false
},
"interface": "advanced"|"simple",
"groupAndComputerPermissions": {
"allowFullRemoteControl": true|false,
"computerPermission": "groupSettings"|"accessall"|"specified",
"permittedGroupIds": [<computerGroupId1>, ...],
"permittedHostIds": [<hostId1>, ...]
},
"network": {
"accessNetworks": true|false,
"networkAndClientManagement": true|false,
"editClientDefaults": true|false,
"editNetworkDefaults": true|false,
},
"enforceTfa": true|false
}
User Groups API
Get a list of user groups
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 |
Request body
None.
Response body
| Element | Description | Type |
| groupId | A unique ID for the user group. | integer |
| isEnabled | Indicates whether the user group is enabled. Possible values are true and false. | boolean |
| groupName | Name of the group where you want to list members. | string |
| userList | The list of users in the selected user group. | array |
| id | A unique ID for the user. | integer |
| enabled | Indicates whether the user's account is enabled. | boolean |
| pending | Indicates whether the invitations sent to the user is waiting for a reply. | boolean |
| firstName | The first name set by the user. | string |
| lastName | The last name set by the user. | string |
| The email address of the user. | string |
Example
|
HTTP responses
| Code | Description | Notes |
| 200 | OK | Successful call made. |
Get a specific user group
- Master Account Holders will not be listed.
- The {groupid} is the target groupId. To get a list of hosts and their IDs, run the GET Hosts and Computer Groups API.
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 |
Response body
| Element | Description | Type |
| groupId | A unique ID for the user group. | integer |
| groupName | Name of the selected user group. | string |
| enabled | Indicates whether the user group is enabled. Possible values are true and false. | boolean |
| permissions | Sets group permissions as described in Group Permissions for User Groups. In the permissions object you only need to define the permission you would like to update. |
array |
| users | The list of users in the selected user group. | array |
| id | A unique ID for the user. | integer |
| enabled | Indicates whether the user's account is enabled. | boolean |
| pending | Indicates whether the invitations sent to the user is waiting for a reply. | boolean |
| firstName | The first name set by the user. | string |
| lastName | The last name set by the user. | string |
| The email address of the user. | string |
Example
200 - OK
{
"groupId": 705185,
"groupName": New Group,
"enabled": true|false,
"permissions": {Group Permissions}
"users": [
{
"id": <user’s id>,
"enabled": true|false,
"pending ": true|false,
"firstName": <user’s first name>,
"lastName": <user’s last name>,
"email": <user’s email>
}, ...
]
}
HTTP responses
| Code | Description | Notes |
| 200 | OK | Successful call made. |
| 404 | Not Found | The defined groupId does not exist. |
Update user group settings
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 |
Request body
| Element | Description | Type |
| name | Name of the created group. | string |
| permissions | Sets group permissions as described in Group Permissions for User Groups. In the permissions object you only need to define the permission you would like to update. |
array |
{
"name": "new group"
"permissions": {Group Permissions}
}
Response body
Example
204-No content
HTTP responses
| Code | Description | Notes |
| 204 | No content | Successful call made. |
| 400 | Bad Request | The request is incorrectly formed for one of the following reasons:
|
Create user group
POST https://secure.logmein.com/public-api/v3/user-groups
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 |
Request body
| Element | Description | Type |
| name | Name of the created group. | string |
| permissions | Sets group permissions as described in Group Permissions for User Groups. In the permissions object you only need to define the permission you would like to update. |
array |
{
"name": "new group"
"permissions": {Group Permissions}
}
Response body
Example
200 - OK
HTTP responses
| Code | Description | Notes |
| 200 | OK | The group was successfully created. |
| 400 | Bad Request | The request is incorrectly formed for one of the following reasons:
|
Delete a user group
DELETE https://secure.logmein.com/public-api/v3/user-groups/{groupId}
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 |
Request body
None.
Response body
Example
204 - No content
HTTP responses
| Code | Description | Notes |
| 204 | No content | Successful call made. |
| 400 | Bad request | You do not have permission to delete the group. |
Enable a user group
POST https://secure.logmein.com/public-api/v3/user-groups/enable/{groupId}
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 |
Request body
Not required.
Response body
Example
200 - OK
HTTP responses
| Code | Description | Notes |
| 200 | OK | Successful call made. |
| 404 | Not found | Specified group does not exist. |
Disable a user group
POST https://secure.logmein.com/public-api/v3/user-groups/disable/{groupId}
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 |
Request body
Not required.
Response body
Example
200 - OK
HTTP responses
| Code | Description | Notes |
| 200 | OK | Successful call made. |
| 404 | Not found | Specified group does not exist. |
Rename a user group
POST https://secure.logmein.com/public-api/v3/user-groups/rename/{groupId}
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 |
Request body
| Element | Description | Type |
| newgroupname | New name of the selected user group. | string |
{
"newgroupname": "New Group"
}
Response body
Example
204 - No content
HTTP responses
| Code | Description | Notes |
| 204 | No content | Successful call made. |
| 400 | Bad request | The request is incorrectly formed for one of the following reasons:
|
Change group membership of multiple users
POST https://secure.logmein.com/public-api/v3/user-groups/move-users/{groupId}
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 |
Request body
{
[ "user1@emailaddress.com", "user2@emailaddress.com"]
}
Response body
Example
204-No content
HTTP responses
| Code | Description | Notes |
| 204 | No content | Successful call made. |
| 404 | Not found | Specified group does not exist. |
Group Permissions for User Groups
You can set the following permissions when calling user group APIs. For detailed description of these permissions, see the LogMeIn Central support site.
{
"grantAll": true|false,
"central": {
"enableCentral": true|false,
"reports": true|false,
"alertManagement": true|false,
"configurationManagement": true|false,
"computerGroupManagement": true|false,
"viewInventoryData": true|false,
"inventoryManagement": true|false,
"one2manyManagement": true|false,
"one2manyRun": true|false,
"windowsUpdateManagement": true|false,
"applicationUpdateManagement": true|false,
"antivirusManagement": true|false,
"remoteExecution": true|false,
"remoteExecutionCreateAndRun": true|false
},
"management": {
"userManagement": true|false,
"loginPolicyManagement": true|false,
"saveLoginCredentials": true|false,
"createDesktopShortcut": true|false,
"deployment": true|false,
"adHocSupport": true|false,
"accountSecurity": true|false
},
"interface": "advanced"|"simple",
"groupAndComputerPermissions": {
"allowFullRemoteControl": true|false,
"computerPermission": "accessall"|"specified",
"permittedGroupIds": [<computerGroupId1>, ...],
"permittedHostIds": [<hostId1>, ...]
},
"network": {
"accessNetworks": true|false,
"networkAndClientManagement": true|false,
"editClientDefaults": true|false,
"editNetworkDefaults": true|false,
}
}
Reporting API
POST a Remote Access Report
POST https://secure.logmein.com/public-api/v1/reports/remote-access
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
| Element | Description | Type |
| StartDate | The starting time for the report. | datetime |
| EndDate | The ending time for the report. | datetime |
Example
{
"startDate": "2023-03-01",
"endDate": "2023-03-31"
}
Results
| Element | Description | Type |
| sessionId | The unique identifier of the remote access session. | number |
| hostId | The unique identifier of the host. | number |
| sessionStart | The starting time of the remote access session. | datetime |
| sessionEnd | The end time of the remote access session. | datetime |
| userIp | The host's IP address. | ip address |
Example
[
{
"sessionId": 1000001,
"hostId": 1700985719,
"sessionStart": "2023-02-25 11:33:40",
"sessionEnd": "2023-02-25 11:36:15",
"userIp": "10.228.224.54"
}
]
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. |
POST a remote access report with groups
POST https://secure.logmein.com/public-api/v1/reports/remote-access-with-groups
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
| Element | Description | Type |
| startDate | The starting time for the report. | datetime |
| endDate | The ending time for the report. | datetime |
Example
|
Results
| Element | Description | Type |
| sessionId | The unique identifier of the remote access session. | number |
| hostId | The unique identifier of the host. | number |
| groupId | The unique identifier of the group your recently accessed host is in. | number |
| sessionStart | The starting time of the remote access session. | datetime |
| sessionEnd | The end time of the remote access session. | datetime |
| userIp | The host's IP address | ip address |
Example
|
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. |
POST a Computer Status Report
POST https://secure.logmein.com/public-api/v1/reports/computer-status
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
| Element | Description | Type |
| groupIDList | The id of the groups you want. | number |
| hostIDList | The id of the hosts you want | number |
Example
|
Results
| Element | Description | Type | Notes |
| hostId | The unique identifier of the host. | number | |
| groupId | The unique identifier of the group your recently accessed host is in. | number | |
| computerDescription | The Computer description given to the host. | string | |
| productType | This is obsolete info. | string | This always returns a value of 'i'. |
| subscriptionType | The type of subscription associated with the host. | number |
|
| startDate | The the subscription started. | datetime | |
| renewalDate | The time the subscription is set to renew. | datetime | |
| status | The state of the subscription associated with the host. | number |
|
| lastOnline | The last time when the host was pingable and was online. | datetime | |
| lastRemoteSession | The last time the host was accessed. | datetime | |
| lastKnownIpAddress | The host's last known IP address. | ip address | |
| installDate | The date LogMein was installed on the host. | datetime | |
| softwareVersion | The version of the LogMein software installed on the host. | number |
Example
|
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. |
POST a Deleted Host Report
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
| Element | Description | Type |
| startDate | The date from which you want details of deleted hosts. | datetime |
Example
|
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
|
| deletedAt | The date when the host was deleted. | datetime | |
| installedAt | The date when the host software was installed. | datetime |
Example
|
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. |
Custom Fields
LogMeIn Central lets you store custom (user defined) data to your hosts. For more information, see Use custom fields to organize computers in.
GET a List of Custom Fields
GET https://secure.logmein.com/public-api/v1/hosts/custom-fields/categories
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 |
Results
| Element | Description | Type |
| metadataCategories | Lists the Custom Field categories. | array |
| id | A unique id number for the Custom Field category. | string |
| name | The value set for the Custom Field | string |
| values | A list of the values set in Custom fields categories. | array |
| id | A unique id string for the Custom Field category value. | string |
| name | The input for the Custom Field category value | string |
Example
|
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. |
GET a list of Custom Fields assigned to 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 |
Results
| Element | Description | Type |
| hosts | List of hosts. | array |
| id | A unique ID number for the host. | string |
| metadata | The group name given to the Computer Group. | string |
| categoryId | A unique id string for the Custom Field category value. | string |
| valueId | A unique id string for the input of a Custom Field category value. | string |
Example
|
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. |
POST a new Custom Field
POST https://secure.logmein.com/public-api/v1/hosts/custom-fields/categories
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
| Element | Description | Type |
| name | The new name for the new custom field category | string |
Example
|
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. |
POST a value to a host
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
| Element | Description | Type |
| value | The new value under the Custom field category you want assigned to the host.
Note: If the value of {category-id} is null or empty, the related host's custom field will be deleted.
|
string |
Example
|
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. |
PUT a new name on a Custom Field
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
| Element | Description | Type |
| name | The new name for the custom field category. | string |
Example
|
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. |
DELETE a Custom Field Category
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 |
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. |
DELETE a Value Assigned to a host under a Specific Custom Field
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 |
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. |