v1
latestOpenAPI 3.0.12026-08-064278250.7 KBdevices
Perform an action on a device
Perform a supported action on a device through its enrollment code.
post/v1/devices/{enrollmentCode}/actions
Path parameters
enrollmentCodestring required
Headers
Workspacestring required
The workspace identifier, which isolates API requests inside the provided workspace scope.
Request body
Example request
{
"value": "enable",
"metadata": {
"driveLetter": "C://"
}
}Response
Success