Skip to content

Depot mdm

Registers the tenant MDM routes owned by this file.

This page is generated from the Depot route table. Every operation carries the permission it needs and the anchor an agent can link to.

GETmdm:readtenant facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

listMdmProviders lists the device management providers and whether each is available to this client: Core’s switch state and the gate’s answer.

StatusBodyDescription
200application/json, MdmProviderListViewSuccess.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold mdm:read.
503application/problem+json, ProblemDetailsNo client for this request.

200 response body

FieldTypeDescription
itemsrequiredarray of MdmProviderView
items[].availablerequiredboolean
items[].coderequiredstring
items[].displayNamerequiredstring
items[].enabledrequiredboolean
items[].reasonstring or null
items[].staterequiredstring
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/mdm/providers' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

GETmdm:readtenant facehosteditmspremoteIdempotent

From an MSP console, prefix the path with /api/v1/clients/{clientID} to reach one client.

Source: [object Object]

listMdmReasons lists every delivery reason Outpost can explain: the key a timeline event carries, what it means in plain English, the suggested fix, and whether retrying can succeed on its own (S6, contract 3.6).

StatusBodyDescription
200application/json, MdmReasonListViewSuccess.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold mdm:read.

200 response body

FieldTypeDescription
itemsrequiredarray of MdmReasonView
items[].fixrequiredstring
items[].keyrequiredstring
items[].plainrequiredstring
items[].retryablerequiredboolean
Terminal window
# Sign in first. outpost_console is a session cookie, so send it with every request.
# This operation is idempotent. Repeating it does not repeat its effect.
curl -X GET 'https://depot.example.com/api/v1/mdm/reasons' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

Content is licensed CC BY 4.0. Code samples are MIT. Outpost and the Outpost mark are trademarks of Outpost Business Solutions, PBC and are not covered by either license.