---
id: config-scan-digital-wallet-open-id-device-policy
title: "Scan device policy"
description: "Checks the stored Android wallet units against the device policy: the units that are not deleted and not revoked, with the device data that their requests stored (the device model, the key attestation chain, and the latest attested security patch level and Android version). The scan applies the vulnerable device classes, the leaked attestation keys, and the device rules of the device policy configuration. A wallet unit that no rule matched and that has no stored device data that the rules need is counted in `unknownDevice`."
sidebar_label: "Scan device policy"
hide_title: true
hide_table_of_contents: true
api: eJztGttu2zj2Vwi+bAzIih07baoOik2TzG46s5uiSZsFkiCipSObE5nUkJRdb+B/XxySkiVbbmd2MMA85CWIJfLc70fPNAWdKF4YLgWN6NkMkidNzAyINlJBSk5FqiRPyZLlORhSCm40YVPGhTb2XAoLngApZM6TVWQfuUNmxgxhCoiQhqSQg4GUMJHa3woW8gnSgCy5mTXhpMwwd9XMgCui4NcStNEVPQeNs3OZQh7Y20+wIswY0IYhKySZMS4Ciw5f5wxf+ROQEg1JqbhZkYKZZEZyWEBuD1fsLkBpLkUvJDcoi4QJwooi5+CEsyhzAYpN8pqWJGdag3bU5MCekNkGQU+w0ht6/CVV5qCJzHYFSRIpMj4tlb0dktOmApx8hLT3yRxZ8KK1L2ZM40svsC65esQCICVck0SWAqXCBYlL8STkUpzbW3F4L+7Fp1IQbkjGlTZOX3GqVp9KERGjSoiJkUQDkCVCd9RoZwipWhGFt53UCgULDktkmKGGxBS2mLd0heSWm5ksDWEVBCdWL4JCyQVPQXkj0gRYMqvF0JRTbVwKmJaCxA7No5Nx7IwJNVRqEn9yJhkTKUjjec7R+mRGrOFvNKp7qBUkIXEa5ppkXLDcmQwrCsent/QWXXoml5rc09vGM3/unhJmLC4BX01FhPeCkAZUFuCM4jKlEXVmcp0wcc6n3LDcgbwqQFymTokfLbM0oB7Ie5muaPS85flIs7Q/aoNEqw/9Pa4gpRGqO0CcBoRBGNYnHP+Hv2gE9Ex1MoM5w//MqgAaUTn5BRJDA2q4yfFBky4k/ZMjjAbfpok5ipxHgnIGA1mpQRNG5jCfgHImzrUNMh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F2Gv6G6cJgkU5ptnm430x6trrFIm/vvMuR0NUcWWOA9kSxrRe3pP7SegVoV2HIXPn2nOxLR00zEHF1M9a9dKrOBPtqn0/yBn1SuxalC53V86ZvBvY07avvIDBvmfYPWuPu7e7L1Q97TuNNoBfnjwP47Tdyo=
sidebar_class_name: "post api-method"
info_path: docs/openid4vc-api/igrant-io-api-documentation
custom_edit_url: null
---

> **Build this with an AI coding agent.** Install the iGrant.io Agent Skills, then ask your agent to build the integration:
>
> ```bash
> npx skills add L3-iGrant/skills
> ```


import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";

<h1 className={"openapi__heading"}>Scan device policy</h1>

<MethodEndpoint method={"post"} path={"/v4/config/ows/wallet-provider/individual-wallet-unit-device-policy/scan"}></MethodEndpoint>



Checks the stored Android wallet units against the device policy: the units that are not deleted and not revoked, with the device data that their requests stored (the device model, the key attestation chain, and the latest attested security patch level and Android version). The scan applies the vulnerable device classes, the leaked attestation keys, and the device rules of the device policy configuration. A wallet unit that no rule matched and that has no stored device data that the rules need is counted in `unknownDevice`.

Run it first with `dryRun: true` to see what matches: the dry run is the preview of a change of the device rules. Without a dry run, the wallet provider revokes each matched wallet unit with the reason `device_policy` (the status `Revoked` on the status lists of its attestations). A revocation is final. The app of a revoked wallet unit shows "Wallet unit revoked" at its next status request.

## Request

<MimeTabs className={"openapi-tabs__mime"}><TabItem label={"application/json"} value={"application/json-schema"}><details style={{}} className={"openapi-markdown__details mime"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-mime"}><h3 className={"openapi-markdown__details-summary-header-body"}>Body</h3><strong className={"openapi-schema__required"}>required</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}><div style={{"marginTop":"1rem","marginBottom":"1rem"}}>

The options of the scan.

</div></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"dryRun"} required={false} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","default":false,"description":"`true`: count the matched wallet units and revoke nothing. `false` (default): revoke each matched wallet unit.","example":true}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

The result of the scan.

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"matched"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"The wallet units that the device policy refuses.","example":3}}></SchemaItem><SchemaItem collapsible={false} name={"revoked"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"The wallet units that the scan revoked, with the reason `device_policy`. Always `0` for a dry run.","example":0}}></SchemaItem><SchemaItem collapsible={false} name={"unknownDevice"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"The wallet units that no rule matched and that have no stored device data that the rules need. The scan cannot check them.","example":315}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>matches</strong><span className={"openapi-schema__name"}> object[]</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__required"}>required</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

The first 100 matched wallet units, each with the reason of the match.

</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"walletUnitId"} required={true} schemaName={"uuid"} qualifierMessage={undefined} schema={{"type":"string","format":"uuid","description":"The id of the individual wallet unit."}}></SchemaItem><SchemaItem collapsible={false} name={"reason"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [`device_class_vulnerable`, `attestation_key_leaked`, `os_version_too_old`]"} schema={{"type":"string","description":"`device_class_vulnerable`: the device model and the Android version are in a vulnerable device class. `attestation_key_leaked`: a certificate of its key attestation chain is a leaked attestation key. `os_version_too_old`: the stored Android version is older than `devicePolicy.minimumAndroidVersion`.","enum":["device_class_vulnerable","attestation_key_leaked","os_version_too_old"]}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"matched\": 3,\n  \"revoked\": 0,\n  \"unknownDevice\": 315,\n  \"matches\": [\n    {\n      \"walletUnitId\": \"2c7a9e14-5b3d-4f60-8e21-9d4c6b8a0f13\",\n      \"reason\": \"device_class_vulnerable\"\n    },\n    {\n      \"walletUnitId\": \"8d1e3f5a-7c9b-4e02-a6d4-1f3b5c7e9a20\",\n      \"reason\": \"attestation_key_leaked\"\n    },\n    {\n      \"walletUnitId\": \"5f2b8c4e-9a1d-4b73-8e6f-0c2d4a6b8e31\",\n      \"reason\": \"os_version_too_old\"\n    }\n  ]\n}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n  \"matched\": 3,\n  \"revoked\": 0,\n  \"unknownDevice\": 315,\n  \"matches\": [\n    {\n      \"walletUnitId\": \"2c7a9e14-5b3d-4f60-8e21-9d4c6b8a0f13\",\n      \"reason\": \"device_class_vulnerable\"\n    },\n    {\n      \"walletUnitId\": \"8d1e3f5a-7c9b-4e02-a6d4-1f3b5c7e9a20\",\n      \"reason\": \"attestation_key_leaked\"\n    },\n    {\n      \"walletUnitId\": \"5f2b8c4e-9a1d-4b73-8e6f-0c2d4a6b8e31\",\n      \"reason\": \"os_version_too_old\"\n    }\n  ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>

The body is not valid (an unknown member, or a `dryRun` that is not a boolean), a status list refused a revocation, or the organisation is not the wallet provider (also without a deployment).

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled`, `service_not_installed` or `purpose_exists`. Some refusals have more members: `feature_disabled` has `feature`, and `service_not_installed` has `service` (the service that is not installed: `wallet` or `consent`)."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"401"} value={"401"}><div>

The `Authorization` header is missing, or the API key or token is not valid.

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled`, `service_not_installed` or `purpose_exists`. Some refusals have more members: `feature_disabled` has `feature`, and `service_not_installed` has `service` (the service that is not installed: `wallet` or `consent`)."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"403"} value={"403"}><div>

The API key or token does not allow this call. An API key without the scope of the operation gets the older body `{"Code", "Message"}`. An `X-SandboxOrgId` header that names another sandbox organisation than the one of the API key gets `{"errorCode", "errorDescription"}`. When a platform admin has turned off the feature of the operation for the organisation, the answer has `errorKey` `feature_disabled` and the member `feature` (the name of the feature).

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><div><span className={"badge badge--info"}>anyOf</span><SchemaTabs><TabItem label={"MOD1"} value={"0-item-properties"}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled`, `service_not_installed` or `purpose_exists`. Some refusals have more members: `feature_disabled` has `feature`, and `service_not_installed` has `service` (the service that is not installed: `wallet` or `consent`)."}}></SchemaItem></TabItem><TabItem label={"Older error body"} value={"1-item-properties"}><SchemaItem collapsible={false} name={"Code"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","description":"The HTTP status.","example":403}}></SchemaItem><SchemaItem collapsible={false} name={"Message"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"What went wrong.","example":"Unauthorised access;User doesn't have enough permissions;"}}></SchemaItem></TabItem></SchemaTabs></div></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n  \"Code\": 403,\n  \"Message\": \"Unauthorised access;User doesn't have enough permissions;\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"500"} value={"500"}><div>

Unexpected server error.

</div><details style={{"textAlign":"left","marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collaposed={true} open={false}><summary style={{}}><strong>Response Headers</strong></summary><ul style={{"marginLeft":"1rem"}}></ul></details><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"errorCode"} required={true} schemaName={"integer"} qualifierMessage={undefined} schema={{"type":"integer","example":400}}></SchemaItem><SchemaItem collapsible={false} name={"errorDescription"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","example":"Bad input parameter"}}></SchemaItem><SchemaItem collapsible={false} name={"errorKey"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"A text code of the refusal that does not change when the text changes. Only some refusals have it, for example `organisation_suspended`, `feature_disabled`, `service_not_installed` or `purpose_exists`. Some refusals have more members: `feature_disabled` has `feature`, and `service_not_installed` has `service` (the service that is not installed: `wallet` or `consent`)."}}></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\",\n  \"errorKey\": \"string\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
      