Iru

Iru Devices API

The Devices API from Iru — 34 operation(s) for devices.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
IT Operations Management BC-600.40

Operations 40

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v1/devices/{device_id}/action/enablelostmode Turn on lost mode on a device · Enable Lost Mode #
Ask an LLM
“How do I put a lost device into lost mode with a custom message?”
“Can I show a phone number on the lock screen when lost mode is on?”
Tell an agent
Enable lost mode on device {device_id}.
Turn on lost mode on {device_id} with the message {Message}.
POST /api/v1/devices/{device_id}/action/disablelostmode Turn off lost mode on a device · Disable Lost Mode #
Ask an LLM
“How do I disable lost mode on a device remotely?”
“Can I turn off lost mode without erasing the device?”
Tell an agent
Disable lost mode on device {device_id}.
Turn off lost mode for {device_id}.
POST /api/v1/devices/{device_id}/action/playlostmodesound Play the lost mode sound · Play Lost Mode Sound #
Ask an LLM
“How do I make a lost device play its sound so I can find it?”
“Can I trigger the lost mode sound on a device remotely?”
Tell an agent
Play the lost mode sound on device {device_id}.
Make {device_id} play its lost mode sound.
POST /api/v1/devices/{device_id}/action/updatelocation Update a device's location · Update Location #
Ask an LLM
“How do I refresh the location data on a device?”
“Can I force a device to update its location?”
Tell an agent
Update the location data on device {device_id}.
Refresh the location for {device_id}.
POST /api/v1/devices/{device_id}/action/clearpasscode Clear a device's passcode · Clear Passcode #
Ask an LLM
“How do I remove the passcode from a lost iPhone or iPad?”
“Can I clear a device's passcode remotely?”
Tell an agent destructive · confirm first
Clear the passcode on device {device_id}.
Remove the passcode from {device_id}.
GET /api/v1/devices/{device_id} Get a device's details · Get Device #
Ask an LLM
“What is the name, model and status of a specific device?”
“Can I look up one device by its ID?”
Tell an agent
Show device {device_id}.
Get the details of device {device_id}.
PATCH /api/v1/devices/{device_id} Update a device's user, asset tag or blueprint · Update Device #
Ask an LLM
“How do I reassign a device to a different user?”
“Can I change a device's asset tag or blueprint?”
Tell an agent
Assign device {device_id} to user {user}.
Set the asset tag of {device_id} to {asset_tag}.
DELETE /api/v1/devices/{device_id} Delete a device · Delete device #
Ask an LLM
“How do I remove a device from my inventory?”
“Can I delete a device record entirely?”
Tell an agent destructive · confirm first
Delete device {device_id}.
Remove device {device_id} from inventory.
POST /api/v1/devices/{device_id}/action/erase Erase a device remotely · Erase Device #
Ask an LLM
“How do I remotely wipe a lost iPhone or iPad?”
“Can I erase a device while preserving its data plan?”
Tell an agent destructive · confirm first
Erase device {device_id}.
Erase {device_id} with PIN {PIN}.
GET /api/v1/devices/{device_id}/commands List commands sent to a device · Get Device Commands #
Ask an LLM
“What commands have been sent to a device?”
“Can I see the command history for one device?”
Tell an agent
Show the command history for device {device_id}.
List the last {limit} commands sent to {device_id}.
POST /api/v1/devices/{device_id}/action/lock Lock a device remotely · Lock Device #
Ask an LLM
“How do I lock a lost device so no one can use it?”
“Can I display a message on a locked device?”
Tell an agent
Lock device {device_id}.
Lock {device_id} with the message {Message}.
POST /api/v1/devices/{device_id}/action/reinstallagent Reinstall the Kandji agent · Reinstall Agent #
Ask an LLM
“How do I reinstall the Kandji agent on a device?”
“Can I force the Kandji agent to reinstall remotely?”
Tell an agent
Reinstall the Kandji agent on device {device_id}.
Force a Kandji agent reinstall for {device_id}.
POST /api/v1/devices/{device_id}/action/remotedesktop Turn on or off Remote Desktop on a Mac · Remote Desktop #
Ask an LLM
“How do I enable Remote Desktop on a Mac remotely?”
“Can I disable Remote Desktop on a Mac?”
Tell an agent
Set Remote Desktop on {device_id} to {EnableRemoteDesktop}.
Turn Remote Desktop {EnableRemoteDesktop} on Mac {device_id}.
POST /api/v1/devices/{device_id}/action/renewmdmprofile Reinstall the device's MDM profile · Renew MDM Profile #
Ask an LLM
“How do I re-install a device's root MDM profile?”
“Can I renew the MDM profile on a device?”
Tell an agent
Renew the MDM profile on device {device_id}.
Re-install the root MDM profile for {device_id}.
POST /api/v1/devices/{device_id}/action/restart Restart a device remotely · Restart Device #
Ask an LLM
“How do I remotely restart a device?”
“Can I rebuild the kernel cache when restarting a device?”
Tell an agent
Restart device {device_id}.
Restart {device_id} with RebuildKernelCache {RebuildKernelCache}.
POST /api/v1/devices/{device_id}/action/blankpush Send a blank push to a device · Send Blankpush #
Ask an LLM
“How do I send a blank push to wake up a device?”
“Can I initiate a blank push on a device?”
Tell an agent
Send a blank push to device {device_id}.
Initiate a blank push on {device_id}.
POST /api/v1/devices/{device_id}/action/setname Rename a device · Set Name #
Ask an LLM
“How do I rename a device?”
“Can I change a device's name remotely?”
Tell an agent
Set the name of device {device_id} to {DeviceName}.
Rename {device_id} to {DeviceName}.
POST /api/v1/devices/{device_id}/action/shutdown Shut down a device remotely · Shutdown #
Ask an LLM
“How do I remotely shut down a device?”
“Can I power off a device without erasing it?”
Tell an agent
Shut down device {device_id}.
Power off {device_id} remotely.
POST /api/v1/devices/{device_id}/action/updateinventory Force a device to check in and update inventory · Update Inventory #
Ask an LLM
“How do I force a device to check in and update its inventory?”
“Can I kick off the daily MDM commands on a device?”
Tell an agent
Update the inventory on device {device_id}.
Force {device_id} to check in and update inventory.
POST /api/v1/devices/{device_id}/action/unlockaccount Unlock a locked user account · Unlock Account #
Ask an LLM
“How do I unlock a user account locked by too many failed password attempts?”
“Can I unlock an account on a device remotely?”
Tell an agent
Unlock the locked account on device {device_id}.
Unlock the user account on {device_id}.
GET /api/v1/devices/{device_id}/notes List notes on a device · Get Device Notes #
Ask an LLM
“What notes have been added to a specific Mac or iPad?”
“Can I see the note history for one device?”
Tell an agent
List the notes on device {device_id}.
Show every note recorded for device {device_id}.
POST /api/v1/devices/{device_id}/notes Add a note to a device · Create Device Note #
Ask an LLM
“How do I annotate a device with a note, like a repair log?”
“Can I add a note to a Mac or iPad?”
Tell an agent
Add note {content} to device {device_id}.
Log a note on device {device_id} saying {content}.
GET /api/v1/devices/{device_id}/notes/{note_id} Get one note on a device · Retrieve Device Note #
Ask an LLM
“What does a specific note on a device say?”
“Can I read a single note by its ID?”
Tell an agent
Get note {note_id} on device {device_id}.
Show the content of note {note_id} for device {device_id}.
PATCH /api/v1/devices/{device_id}/notes/{note_id} Update a note on a device · Update Device Note #
Ask an LLM
“Can I edit an existing note on a device?”
“How do I change the text of a note I already added?”
Tell an agent
Update note {note_id} on device {device_id} to {content}.
Replace the text of note {note_id} on device {device_id} with {content}.
DELETE /api/v1/devices/{device_id}/notes/{note_id} Delete a note from a device · Delete Device Note #
Ask an LLM
“How do I remove a note from a device?”
“Can I delete a single note on a Mac or iPad?”
Tell an agent destructive · confirm first
Delete note {note_id} from device {device_id}.
Remove the note {note_id} on device {device_id}.
GET /api/v1/devices List devices in the tenant · List Devices #
Ask an LLM
“Which Macs and iPads are in my tenant?”
“Can I find devices by serial number, user or OS version?”
Tell an agent
List all devices in the tenant.
Find devices with serial number {serial_number}.
GET /api/v1/devices/{device_id}/details Get full details of a device · Get Device Details #
Ask an LLM
“What are the full details of a specific device?”
“Can I see a device's model, serial and other details?”
Tell an agent
Get the full details of device {device_id}.
Show every detail recorded for device {device_id}.
GET /api/v1/devices/{device_id}/details/lostmode Get a device's lost mode status · Get device lost mode details #
Ask an LLM
“Is a device in lost mode, and what is its status?”
“Can I check the lost mode state of an iPhone or iPad?”
Tell an agent
Get the lost mode details for device {device_id}.
Show whether device {device_id} is in lost mode.
DELETE /api/v1/devices/{device_id}/details/lostmode Cancel lost mode on a device · Cancel Lost Mode #
Ask an LLM
“How do I cancel lost mode on an iPhone or iPad that is stuck in it?”
“Can I send a lost mode cancel command to a device?”
Tell an agent destructive · confirm first
Cancel lost mode on device {device_id}.
Send a lost mode cancel request for device {device_id}.
GET /api/v1/devices/{device_id}/activity Get a device's activity log · Get Device Activity #
Ask an LLM
“What has happened on a device recently?”
“Can I see the activity log for one Mac or iPad?”
Tell an agent
Get the activity log for device {device_id}.
Show recent activity on device {device_id}.
GET /api/v1/devices/{device_id}/apps List apps installed on a device · Get Device Apps #
Ask an LLM
“Which apps are installed on a Mac or iPad?”
“Can I see the app list for one device?”
Tell an agent
List the apps installed on device {device_id}.
Show every app on device {device_id}.
GET /api/v1/devices/{device_id}/library-items Get library items and statuses for a device · Get Device Library Items #
Ask an LLM
“Which library items are applied to a device and what are their statuses?”
“Can I see the library item status for one device?”
Tell an agent
Get the library items and statuses for device {device_id}.
Show which library items are applied to device {device_id}.
GET /api/v1/devices/{device_id}/parameters Get a device's parameters · Get Device Parameters #
Ask an LLM
“What parameters are set on a device?”
“Can I see a device's parameter statuses?”
Tell an agent
Get the parameters for device {device_id}.
Show the parameter statuses of device {device_id}.
GET /api/v1/devices/{device_id}/status Get a device's full status · Get Device Status #
Ask an LLM
“What is the full status of a device, including parameters and library items?”
“Can I see both a device's parameters and library items in one call?”
Tell an agent
Get the full status of device {device_id}.
Show both parameters and library items for device {device_id}.
GET /api/v1/devices/{device_id}/secrets/bypasscode Get a device's activation lock bypass code · Get Activation Lock Bypass Code #
Ask an LLM
“What activation lock bypass code does a device have?”
“Can I retrieve the bypass code for an activation lock?”
Tell an agent
Get the activation lock bypass code for device {device_id}.
Show the activation lock bypass code of device {device_id}.
GET /api/v1/devices/{device_id}/secrets/filevaultkey Get a Mac's FileVault recovery key · Get FileVault Recovery Key #
Ask an LLM
“What is the FileVault recovery key for a Mac?”
“Can I retrieve the FileVault key for a device?”
Tell an agent
Get the FileVault recovery key for device {device_id}.
Show the FileVault key of Mac {device_id}.
GET /api/v1/devices/{device_id}/secrets/unlockpin Get a Mac's unlock PIN · Get Unlock Pin #
Ask an LLM
“What unlock PIN does a Mac have?”
“Can I retrieve the unlock PIN for a device?”
Tell an agent
Get the unlock PIN for device {device_id}.
Show the unlock PIN of Mac {device_id}.
GET /api/v1/devices/{device_id}/secrets/recoverypassword Get a device's recovery lock password · Get Recovery Lock Password #
Ask an LLM
“What recovery lock password does a device have?”
“Can I retrieve the recovery lock password?”
Tell an agent
Get the recovery lock password for device {device_id}.
Show the recovery lock password of device {device_id}.
POST /api/v1/devices/{device_id}/action/deleteuser Delete a user from a device · Delete device user #
Ask an LLM
“How do I remove a local user account from a Mac?”
“Can I delete a user from a Shared iPad?”
Tell an agent destructive · confirm first
Delete user {UserName} from device {device_id}.
Delete all users on device {device_id}.
POST /api/v1/devices/{device_id}/action/dailycheckin Send a daily check-in command · Daily check-in #
Ask an LLM
“Can I trigger a daily check-in on a device?”
“How do I force a device to check in today?”
Tell an agent
Send a daily check-in command to device {device_id}.
Trigger a daily check-in on device {device_id}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kandji:kandji-devices-api"
All apis
curl "https://apis.io/api/v1/apis?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kandji-devices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Iru Endpoint Management Devices API
  description: '# Welcome to the Iru Endpoint Management API Documentation


    **Note:** Kandji is in the process of changing to Iru.'
  version: 1.0.0
servers:
- url: https://{subdomain}.api.kandji.io
  description: US Server
  variables:
    subdomain:
      default: your-subdomain
      description: Your Iru Endpoint Management subdomain
- url: https://{subdomain}.api.eu.kandji.io
  description: EU Server
  variables:
    subdomain:
      default: your-subdomain
      description: Your Iru Endpoint Management subdomain
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (80 KB total) ---
# Full source: https://artifacts.apis.io/kandji/openapi/kandji-devices-api-openapi.yml