---
id: config-create-digital-wallet-open-id-leaked-attestation-key
title: "Create leaked attestation key"
description: "Adds a leaked attestation key: the SHA-256 fingerprint of a certificate of an Android Key Attestation chain whose private key is known to be leaked. `createdBy` is the caller. The device policy applies to the Android requests: the registration of a wallet unit, each Wallet Unit Attestation request and each key attestation request. A refused request gets `403` with `individual_wallet_unit.device_refused`. To revoke the wallet units that are registered with such a chain already, run [Scan device policy](/docs/openid4vc-api/config-scan-digital-wallet-open-id- device-policy)."
sidebar_label: "Create leaked attestation key"
hide_title: true
hide_table_of_contents: true
api: eJztGv1P4zj2X7Gikw6ktLSldCA7Gl0pcMvs3DJamOUkhiNu/NJ6Se2s7VB6qP/76dlOmvRjZndWK+1J/IJKbD+/7y+/l4CBThTPDZciiIIhY5pQkgF9BEaoMaANxTXyCIuImCmQ6++Hrd7RgKRcTEDligtDZEooSUAZnvKEGrAfBBkKpiRn5AdYkGENVjKlXJD5VGogueJPeOIRFoRr8ijkXBAjyRg8Fm0SJwqoAXa6iHELIpHQLAPVJjdTIAyeeAIklxlPFoTmecZBIwjcWKKg4NcCtNGOBgUTro1y2Fjk5wjQkEJwExKgyZTcui+fBDcN5D0kQgVzGxFzurmhTYZEQVpoqG4nEzCaxP3OYUzm3ExJzAXjT5wVNHtwGDwgBm1H0oM/HrfJjSQKnuQjWPRryCI7qCFUlUSBAuaA6yKZolgss2mmgLJFSFQhyN11QkWTb/d7B0wm+kDmIDjrPyUtmvODRIqUT1o6oaLF+IQbmrXc5S3c2OKs5cG0HJj9dhAGMgfH2ksWRIGDMbIiPHMwHGuvchCX7IMVco3BP8AiCAPPsVPJFkH0sqalKHUB8x1q2vbHuQIWREYVECISBoRBUFZBErv74BeN8F4CnUxhRvGXWeQQRIEc/wKJCcLAcJPhB4f/DmTXbOhLuFmN1aAs65180eBmMBuDcrLkmghpCBfETLkmDhUkKlfIWcNBI6Y1+6shro3iYrKB00+eH+7+0oS3mW3daLbabUgGfTKFZ8og4TOaEasYuk1GMpNCW7tIaI5yJh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zv7sG+B3h6OyM8jsvf+9ma/jpVrp55/Orss00jcfV5g5UMFOS00F2hetxUuKc9Ah5V3KJPQUY3S4cdLzHgznoDQVjHLtCenyRRIr93ZkN98Pm9Tu9yWanLgz+qDD5ej8x+vz1t4ZrnqezXlyWRS4HNVmU5hzulk3+v0+u3Dtp2YwMR3RkUNH5/sbC9N171Nreh8HQF/HQH/4yPgPgBiCX6QZ9SNJVmrePHV2V3w1HfPESnHol/Osahaq9FsjfH1Kg0Nckeddh8GUywKo7vg5WVMNXxS2XKJn38tQGFdeh8GT1RxN8dzd1/1KW1hh7YSBSNnHK0bpAq3Z4Wrg9a6M1iHuRNDO+z8xb31uvXj1TVmAGM/7T6znZhA0TkGIjoPouBz8Dmwo/U25NruD35/CTIqJoVrzzq4GEZpMw+hOXdG73/UBuyoWNSwXK/dHDH4t9aobx55i07qB1i8q7a7lZ0HqnrR7UbVuF8ul/8DcqyjLw==
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"}>Create leaked attestation key</h1>

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



Adds a leaked attestation key: the SHA-256 fingerprint of a certificate of an Android Key Attestation chain whose private key is known to be leaked. `createdBy` is the caller. The device policy applies to the Android requests: the registration of a wallet unit, each Wallet Unit Attestation request and each key attestation request. A refused request gets `403` with `individual_wallet_unit.device_refused`. To revoke the wallet units that are registered with such a chain already, run [Scan device policy](/docs/openid4vc-api/config-scan-digital-wallet-open-id- device-policy).

## 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 new leaked attestation key.

</div></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"fingerprint"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"Required. The SHA-256 of a certificate of the Android Key Attestation chain, 64 hexadecimal digits. Colons and capital letters are accepted.","example":"3B:1F:6C:0E:8D:2A:4B:7F:9E:5C:1A:3D:6B:8F:0E:2C:4A:6D:8B:0F:2E:4C:6A:8D:0B:2F:4E:6C:8A:0D:2B:4F"}}></SchemaItem><SchemaItem collapsible={false} name={"reason"} required={false} schemaName={"string"} qualifierMessage={"**Possible values:** `<= 1000 characters`"} schema={{"type":"string","maxLength":1000,"description":"Optional. Why the key is in the list.","example":"Attestation key published with a firmware leak"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"201"} value={"201"}><div>

The new leaked attestation key.

</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={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>leakedAttestationKey</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"}}>

A certificate of an Android Key Attestation chain whose private key is known to be leaked. The wallet provider refuses a key attestation chain that has this certificate.

</div><SchemaItem collapsible={false} name={"id"} required={true} schemaName={"uuid"} qualifierMessage={undefined} schema={{"type":"string","format":"uuid","description":"The id of the entry.","example":"7e5d4c3b-2a19-4807-b6c5-d4e3f2a1b0c9"}}></SchemaItem><SchemaItem collapsible={false} name={"fingerprint"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** Value must match regular expression `^[0-9a-f]{64}$`"} schema={{"type":"string","pattern":"^[0-9a-f]{64}$","description":"The SHA-256 of the DER certificate, in lowercase hexadecimal without colons.","example":"3b1f6c0e8d2a4b7f9e5c1a3d6b8f0e2c4a6d8b0f2e4c6a8d0b2f4e6c8a0d2b4f"}}></SchemaItem><SchemaItem collapsible={false} name={"reason"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","nullable":true,"description":"Why the key is in the list, as the admin wrote it.","example":"Attestation key published with a firmware leak"}}></SchemaItem><SchemaItem collapsible={false} name={"createdAt"} required={true} schemaName={"int64"} qualifierMessage={undefined} schema={{"type":"integer","format":"int64","description":"When the entry was added (Unix time in seconds).","example":1794556800}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>createdBy</strong><span className={"openapi-schema__name"}> object</span><span className={"openapi-schema__divider"}></span><span className={"openapi-schema__nullable"}>nullable</span></span></summary><div style={{"marginLeft":"1rem"}}><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Who added the entry: an admin (with the admin id) or an API key (with the name of the key).

</div><SchemaItem collapsible={false} name={"kind"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [`admin`, `api_key`]"} schema={{"type":"string","description":"`admin` for the login of an admin, `api_key` for an API key.","enum":["admin","api_key"],"example":"admin"}}></SchemaItem><SchemaItem collapsible={false} name={"id"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","nullable":true,"description":"The id of the admin, for `admin`. The dashboard shows the name of the admin. `null` for an API key.","example":"6a1f0c2b9e4d3a7f8b6c5d41"}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","nullable":true,"description":"The name of the API key, for `api_key`. `null` for an admin.","example":null}}></SchemaItem></div></details></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"leakedAttestationKey\": {\n    \"id\": \"7e5d4c3b-2a19-4807-b6c5-d4e3f2a1b0c9\",\n    \"fingerprint\": \"3b1f6c0e8d2a4b7f9e5c1a3d6b8f0e2c4a6d8b0f2e4c6a8d0b2f4e6c8a0d2b4f\",\n    \"reason\": \"Attestation key published with a firmware leak\",\n    \"createdAt\": 1794556800,\n    \"createdBy\": {\n      \"kind\": \"admin\",\n      \"id\": \"6a1f0c2b9e4d3a7f8b6c5d41\",\n      \"name\": null\n    }\n  }\n}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n  \"leakedAttestationKey\": {\n    \"id\": \"7e5d4c3b-2a19-4807-b6c5-d4e3f2a1b0c9\",\n    \"fingerprint\": \"3b1f6c0e8d2a4b7f9e5c1a3d6b8f0e2c4a6d8b0f2e4c6a8d0b2f4e6c8a0d2b4f\",\n    \"reason\": \"Attestation key published with a firmware leak\",\n    \"createdAt\": 1794556800,\n    \"createdBy\": {\n      \"kind\": \"api_key\",\n      \"id\": null,\n      \"name\": \"security-feed\"\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, a value of the wrong JSON type, a missing `fingerprint`, or a `fingerprint` that is not a SHA-256 in hexadecimal), 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={"409"} value={"409"}><div>

The fingerprint is in the list already (`The leaked attestation key <fingerprint> is in the list`).

</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={"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>
      