# Retrieve applicable actions for a managed device gets list of applicablr actions for the device ## Endpoints GET `/api/v1/mdm/devices/{device_id}/actions` ## Request URL `https://{server-hostname}:8383/api/v1/mdm/devices/{device_id}/actions` ## Scope `MDMInventory.READ` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — Mandatory: `application/json` ### Path Parameters - **device_id** `string` — Mandatory Unique identifier of the device. Obtain from the [Get Device List](https://www.manageengine.com/products/desktop-central/help/api/onpremise/devices-get-device-list.html) response ## Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/devices/{device_id}/actions \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json `JSON Object` - **knox_actions** `JSON Array` Array of Knox-specific actions applicable to the device - **actions** `JSON Array` Array of standard device actions with their current status ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 Available standard and Knox actions with their status ```json { "knox_actions": [ { "is_enabled": true, "action_info": "--", "name": "create_container", "localized_action_info": "--", "localized_name": "Create container" } ], "actions": [ { "is_enabled": true, "status_description": "Command Success", "status_code": 2, "localized_status_description": "Command Success", "action_info": "--", "name": "scan", "localized_action_info": "--", "localized_name": "Scan" }, { "is_enabled": true, "status_description": "Command Initiated", "status_code": 1, "localized_status_description": "Command Initiated", "action_info": "--", "name": "lock", "localized_action_info": "--", "localized_name": "Lock" } ] } ``` ## Rate Limit **Duration:** 1 minute | **Threshold:** 250 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.