Microsoft Entra ID (formerly Azure AD) · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Identity.DirectoryManagement Devices.device API
10 actions
10 updates
phrasing
extends
openapi/azure-ad-devices-device-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Microsoft Entra ID (formerly Azure AD)'s API. It is a proposal applied on top of the contract, not a document Microsoft Entra ID (formerly Azure AD) publishes.
What the actions change
x-apievangelist-phrasing
Targets 10
$.info
$.paths['/devices'].get
$.paths['/devices'].post
$.paths['/devices/{device-id}'].get
$.paths['/devices/{device-id}'].delete
$.paths['/devices/{device-id}'].patch
$.paths['/devices(deviceId=\'{deviceId}\')'].get
$.paths['/devices(deviceId=\'{deviceId}\')'].delete
$.paths['/devices(deviceId=\'{deviceId}\')'].patch
$.paths['/devices/$count'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Identity.DirectoryManagement Devices.device API
version: 1.0.0
extends: openapi/azure-ad-devices-device-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-10-01'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 9
- target: $.paths['/devices'].get
update:
x-apievangelist-phrasing:
intent: List devices registered in the organization
effect: read
questions:
- Which devices are registered in our Microsoft Entra tenant?
- Can I see every registered device along with its operating system and compliance state?
instructions:
- text: List all devices registered in the organization.
- text: Show registered devices matching the filter {filter}.
slots:
filter: query.$filter
method: generated
generated: '2026-10-01'
- target: $.paths['/devices'].post
update:
x-apievangelist-phrasing:
intent: Register a new device
effect: write
questions:
- How do I register a new device in the directory through the API?
- Can I set the operating system and ownership when registering a device?
instructions:
- text: Register a new device named {displayName} running {os}.
slots:
displayName: requestBody.displayName
os: requestBody.operatingSystem
- text: Create a device record with device ID {deviceId} and alternative security IDs {securityIds}.
slots:
deviceId: requestBody.deviceId
securityIds: requestBody.alternativeSecurityIds
method: generated
generated: '2026-10-01'
- target: $.paths['/devices/{device-id}'].get
update:
x-apievangelist-phrasing:
intent: Get a device by its object ID
effect: read
questions:
- How do I read a registered device's properties using its directory object ID?
- Is a particular device compliant and managed, looked up by object ID?
instructions:
- text: Get device object {device}.
slots:
device: path.device-id
- text: Show the compliance and trust type of device object {device}.
slots:
device: path.device-id
method: generated
generated: '2026-10-01'
- target: $.paths['/devices/{device-id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a device by its object ID
effect: destructive
questions:
- How do I remove a registered device using its object ID?
- Can I delete a device only if nobody changed it since I last read it?
instructions:
- text: Delete device object {device}.
slots:
device: path.device-id
- text: Remove registered device object {device} if its ETag is {etag}.
slots:
device: path.device-id
etag: header.If-Match
method: generated
generated: '2026-10-01'
- target: $.paths['/devices/{device-id}'].patch
update:
x-apievangelist-phrasing:
intent: Update a device by its object ID
effect: write
questions:
- How do I disable a registered device's account using its object ID?
- Which device properties can be updated, and do some need an approved MDM app?
instructions:
- text: Set accountEnabled to {enabled} on device object {device}.
slots:
enabled: requestBody.accountEnabled
device: path.device-id
- text: Rename device object {device} to {displayName}.
slots:
device: path.device-id
displayName: requestBody.displayName
method: generated
generated: '2026-10-01'
- target: $.paths['/devices(deviceId=\'{deviceId}\')'].get
update:
x-apievangelist-phrasing:
intent: Get a device by its hardware device ID
effect: read
questions:
- Can I look up a device by its deviceId instead of the directory object ID?
- How do I find the directory record for a device when I only know its device identifier?
instructions:
- text: Get the device whose deviceId is {deviceId}.
slots:
deviceId: path.deviceId
- text: Look up the registered device by device identifier {deviceId}.
slots:
deviceId: path.deviceId
method: generated
generated: '2026-10-01'
- target: $.paths['/devices(deviceId=\'{deviceId}\')'].delete
update:
x-apievangelist-phrasing:
intent: Delete a device by its hardware device ID
effect: destructive
questions:
- How do I delete a registered device when I only have its deviceId?
- Can I remove a device by device identifier rather than object ID?
instructions:
- text: Delete the device whose deviceId is {deviceId}.
slots:
deviceId: path.deviceId
- text: Remove the device keyed by device identifier {deviceId} if its ETag is {etag}.
slots:
deviceId: path.deviceId
etag: header.If-Match
method: generated
generated: '2026-10-01'
- target: $.paths['/devices(deviceId=\'{deviceId}\')'].patch
update:
x-apievangelist-phrasing:
intent: Update a device by its hardware device ID
effect: write
questions:
- How do I update a device addressed by its deviceId?
- Can I disable a device account using its device identifier?
instructions:
- text: Set accountEnabled to {enabled} on the device whose deviceId is {deviceId}.
slots:
enabled: requestBody.accountEnabled
deviceId: path.deviceId
- text: Set the device category of device identifier {deviceId} to {category}.
slots:
deviceId: path.deviceId
category: requestBody.deviceCategory
method: generated
generated: '2026-10-01'
- target: $.paths['/devices/$count'].get
update:
x-apievangelist-phrasing:
intent: Count registered devices
effect: read
questions:
- How many devices are registered in our organization?
- What's the total device count in the directory?
instructions:
- text: Count the registered devices.
- text: Tell me how many devices our tenant has.
method: generated
generated: '2026-10-01'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/azure-ad-devices-device-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.