Device Action v2.0

API version2.0
Last Update03/24/2015
AuthenticationYES
Response FormatJSON
HTTP MethodPOST
Rate limitedYES
Requests per rate limit10/min

Use to send a command to a given device

API URL

Copy

Request Parameters

KeyDatatypeParameter TypeRequiredDescriptionDefault
access_tokenstringURLYesaccess token which archived from OAuth authentication step
typesstringURLYesThe action type. dhcprenew - renew ip address for interfaces. exempt_critical - enable exempt critical mode for device. exempt_all - enable exempt all mode for device. unexempt - disable exempt mode for device.
idstringURLYesHWID or MAC Address of a device to be applied the action.
optintURLOptional0 - MAC Address 1 - HWID0

Response HTTP Code

HTTP CodeDescription
200Success
400Bad Request
401Unauthorized. Your access_token is invalid or expired
404Not found

Response Parameters

KeyDatatypeDescription
resultint0 - failure 1- success
msgstringResult details

Example

Request Example

Copy

Response Example

Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard