Skip to content

Depot mdmwindows

Registers the Windows settings routes.

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]

getMdmWindowsSettings shows the Windows enrollment settings: the bound Entra app (never its secret), the device poll schedule, the Windows push (WNS) settings, and the URLs to register in the Entra app.

StatusBodyDescription
200application/json, MdmWindowsSettingsViewSuccess.
400application/problem+json, ProblemDetailsOne or more validation errors occurred.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold mdm:read.
500application/problem+json, ProblemDetailsNo client context in request.

200 response body

FieldTypeDescription
discoveryUrlstring or null
enrollPollRetryCountrequiredinteger
enrollPollRetryMinutesrequiredinteger
entraEntraAppView

entraAppView is the bound Entra app; the secret never leaves.

entra.clientIdrequiredstring
entra.hasSecretrequiredboolean
entra.ownerstring or null
entra.publicIdrequiredstring
entra.rowVersionrequiredinteger

int64.

entra.secretExpiresAtstring (date-time) or null
entra.staterequiredstring
entra.tenantIdrequiredstring
hasWnsClientSecretrequiredboolean
pollIntervalMinutesrequiredinteger
rowVersionrequiredinteger

int64.

termsOfUseUrlstring or null
wnsClientIdstring or null
wnsPackageFamilyNamestring or null
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/windows/settings' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-b 'outpost_console=<console-session>'

PUTmdm:managetenant facehosteditmspremoteIdempotent

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

Source: [object Object]

putMdmWindowsSettings replaces the Windows enrollment settings.

Send the Entra app’s secret and the WNS client secret only to replace them; entra null removes the Entra binding.

Required, sent as application/json.

FieldTypeDescription
enrollPollRetryCountinteger or null
enrollPollRetryMinutesinteger or null
entrarequiredany

Arbitrary JSON.

pollIntervalMinutesinteger or null
rowVersionrequiredinteger

int64.

wnsClientIdrequiredstring
wnsClientSecretstring or null
wnsPackageFamilyNamerequiredstring
StatusBodyDescription
200application/json, MdmWindowsSettingsViewSuccess.
400application/problem+json, ProblemDetailsThe request body is not valid JSON.
401application/problem+json, ProblemDetailsNo signed-in identity.
403application/problem+json, ProblemDetailsThe identity does not hold mdm:manage.
404application/problem+json, ProblemDetailsThe Entra app was already removed.
409application/problem+json, ProblemDetailsThe Entra app changed since you loaded it. Reload and try again.
500application/problem+json, ProblemDetailsNo client context in request.

200 response body

FieldTypeDescription
discoveryUrlstring or null
enrollPollRetryCountrequiredinteger
enrollPollRetryMinutesrequiredinteger
entraEntraAppView

entraAppView is the bound Entra app; the secret never leaves.

entra.clientIdrequiredstring
entra.hasSecretrequiredboolean
entra.ownerstring or null
entra.publicIdrequiredstring
entra.rowVersionrequiredinteger

int64.

entra.secretExpiresAtstring (date-time) or null
entra.staterequiredstring
entra.tenantIdrequiredstring
hasWnsClientSecretrequiredboolean
pollIntervalMinutesrequiredinteger
rowVersionrequiredinteger

int64.

termsOfUseUrlstring or null
wnsClientIdstring or null
wnsPackageFamilyNamestring or null
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 PUT 'https://depot.example.com/api/v1/mdm/windows/settings' \
-H 'X-CSRF-Token: <csrf-token>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-b 'outpost_console=<console-session>' \
--data '{
"enrollPollRetryCount": 0,
"enrollPollRetryMinutes": 0,
"entra": "string",
"pollIntervalMinutes": 0,
"rowVersion": 0,
"wnsClientId": "string",
"wnsClientSecret": "string",
"wnsPackageFamilyName": "string"
}'

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.