Retrieve supported actions for a device

Retrieve all the supported actions that can be performed on a device through its enrollment code.

SecurityJWT
Request
path Parameters
enrollmentCode
required
string
header Parameters
Workspace
required
string

The workspace identifier, which isolates API requests inside the provided workspace scope.

Example: corodevonmicrosoftcom_TX7T_u
Responses
200

Success

400

Bad request, validation error

401

Unauthorized request

403

Access forbidden

429

Too Many Requests

500

Internal server error

get/v1/devices/{enrollmentCode}/actions
Request samples
Response samples
application/json
{
  • "action": { },
  • "supportedValues": [
    ]
}