---
id: config-delete-digital-wallet-open-id-credential
title: "Delete credential"
description: "Deletes a credential from the holder's wallet."
sidebar_label: "Delete credential"
hide_title: true
hide_table_of_contents: true
api: eJzlVm1v2zYQ/iuH+7IEoC3npcBgFMVSO93cFmuwpMmHwkAY6WwxkUiVpOx6hv77cKQsvyTZMGDf5g82LfGOz708z3GNGbnUqsoro3GIYyrIkwMJqaWMtFeygJk1JficIDdFRvYnB0tZFOT7KNBUZCUbTzIcYmr0TM2jk7GaKy+Lu7D1S0V6ko06nyiwklaW5Mk6HH5bH+D4qtX3mkCF7TNFFsxsH5TzxlIGSr+GTLGfSvocBWpZEsPrzCcZCrT0vVaWMhx6W5NAl+ZUShyu0a8q3u+8VXqOTTPlza4y2pHj96eDc/7Zx7yNDrKQgQxcnabk3KwuihUKzElmId510wg8H5ywk9RoT9rzUlZVodKQzuTRsdP1Dqgt3G9I1ho7MhmhiOvxDpSp2ARgHh4p9Zxsy4XyKsLfWm9jVdrTnCz7+yHLqiAcng8GzQvun+VnxwTfS65JVXvo6osNf8SzCsva58aqPyl7lpo3g8H/ODUT7clq7nGyC7IQjjnIUSPQUVpb5VeBPheV+kS8nDZije9JWrIXtc/DE45azpln2LISIi3hKBBzfH47OkaBvwUWcZJK8rlhRsdODnRlZ5gsTpPI8iSLrnqRcompSKsscdnj0idbpiXrXdY1yLg5qpdYP6bStEGjwNoWOMTc+8oNkySj0vRkpfpqbqX2fWWQI913cGVNVqf85zU3/+Th2su50vPXzF18fQhkuq3GNTdl7KVNTbqmkPFBq02xnFt1umj5EJocD5vi4moCT7QCZg1nM3KhDzc5wUIWNbFCshTe7/m5h3gMlLXz8EBQWZqpH5TBUvkc7iNGuIcjbTwFB95KVYQcVDKlYwHUn/cP3A6hNXy7MrXldPSeaPXuvo+N2Ou+NT6Efx+MLaXHIX68u3keW1BJ8OaJNFTSuQ286KnFzFq/BwK6DAYl4BzGw7BjOdcNmSxKz8xGUmQaJIVKqbi2rq4qY/0v23p2JVG/bh/tN8JuDx1E0xlBZc1CZXGcGlYBT6D4tyTtYwht0SINYWYs3JJVMyUfCoLtRHEwca6WOiU4+hL4OjkGqbNXDK8sue6IjuNXx4zIm9QUjhtHOeCuIs02DoydS92mlosByrmaRJitIhy24BNW0BJ/Zxo7qF3oGC91Jm3meiFeJbWHWWGWLpazzXRAe3c2gtsRHH28uzkWMLm8+QDX497Huxu4HcXTJtdf4OTnwclZ7w2UY5Mm5fjz3rUktJTjWV+olLQLmr0hUyXTnOC0P3hWuuVy2Zfhdd/YedLauuTzZHT5+/Vlj20agV75Yq8HQrIyk9Zd9VAgK1ks++ng9Lx/1j9h28o4X0q9gyfeiXbgH5JgZ9r9+1tY2+2efvikKqTSDCJEvW6F+xsuTlG0FzQ+e0+840VOK57EQcB56y7U4d7VaSowN86z1/X6QTr6aoum4cffa7JhCglcSBuaMeq8crzOcDiThaO/if3oj3aWH8N/cAl8MTEbNdYsxUE7cYgo8InFev+S2EybzdwNccQtrFeV3zF+djtpdmfo+PLz5c0lCpStJG7HwVMYB+2CD3gR2+FkiCj4mwfYiyZvuVk/0epdtz2+edWg09K4mzM1bZrmL2FOMPk=
sidebar_class_name: "delete 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"}>Delete credential</h1>

<MethodEndpoint method={"delete"} path={"/v2/config/digital-wallet/openid/sdjwt/credential/{credentialId}"}></MethodEndpoint>



Deletes a credential from the holder's wallet.

## Request

<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Path Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"description":"Unique identifier of a credential stored in the holder's wallet.","in":"path","name":"credentialId","required":true,"schema":{"type":"string"}}}></ParamsItem></ul></div></details><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"204"} value={"204"}><div>

Credential deleted successfully

</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></div></TabItem><TabItem label={"401"} value={"401"}><div>

Unauthorized

</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></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"500"} value={"500"}><div>

Internal 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></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"errorCode\": 400,\n  \"errorDescription\": \"Bad input parameter\"\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem></ApiTabs></div></div>
      