---
id: config-delete-digital-wallet-open-id-credential-definition
title: "Delete credential definition"
description: "Deletes a credential definition. Existing credentials issued under this definition are not affected."
sidebar_label: "Delete credential definition"
hide_title: true
hide_table_of_contents: true
api: eJzlVm1v2zYQ/iuH+5QA8kvSFBiEolhqu4PbYg2WNPlQGAgjni02EqmSlB3P0H8fjpTfne3bMGD+YMsi7+25u+duhZJcZlXlldGY4pAK8uRAQGZJkvZKFCBpqrTiG10YvSjnlZ7tnDtQztUkodaSLPhcuR0REJZAGw9iOqXMk+xigqYiK/h0LDHFzOipmkXTQzVTXhQPoijIf61Ij+VgY2m40YoJVsKKkjxZh+n31UEc37T6WROoIDhVZMFMwed0OizwufDgKsr4rju8ODW2FD4Bv6woAaElZIVQpQPnbZ352hJfga/j4dX9YBzQEDojDlSxM5XwOSaoRUkc7YlwxhITtPSzVpYkpt7WlKDLcioFpitkw5ii81bpGTbNhC+7ymhHjs8v+1f8sw/B4GSkMqAswdVZRs5N66JYYoI5CRmQXDVNglf9C9aXGe1Je34UVVWoLKSs98Ox/tWOf1vPvyNZa+zASMIkPg93vJok61jM0w/KPKfRcjF4FSPZSm/DVtrTjCzrexFlVRCmV/1+c0L9EVQ7IvhBSFC6qj1sKgcb/iRHtSNqnxur/iR5BM3bfv9/DM1Ye7JaFODIzslCMHOAUZOgo6y2yi9DY15X6jPx46RJVviBhCV7Xfs8vOGoxYw7GNvOh9j6cBaanzvqHBMcM8NYBqkknxtmjVjJgQhYGfbml73IJD0ZVXUWQVXPVKSV7Dn5Y+F72/brbNuitzrdlQ1yMBzqKZIZUmlaJDDB2haYYu595dJeT1JpOqJSXTWzQvuuMsjh7yu4sUbWWejLV9T8k4ZbL2bMxq+Iu3h86Mhkm6JbrtRYYOtEbSpFxBcti8Ucb3nsum0S0fLxvmPXN2N4piVwKzGusUG6cJcTzEVR05qQH/f0PEI0A2XtPDwRVJam6oUkLJTP4TH6CI9wpo2noMBboYqAQSUyOk+AurPugdoUWsF3S1NbhqPzTMv3j11skr2SXOFT+PcxUD6m+Onh7ji2QJ3gzTNpqIRza/eiptZnUBr2nIANgoEeGMNoDDetz3lD7iClp2bNMyILPEOlUJxbV1eVsf7XbT43KVG/bV/tF8JuDR1EsxGCypq5knH6G6YGT6D4tyTtYwht0mJvhql3T1ZNlXgqCAY7K8G4HYJw1o7F8zA4TwveWHIbE5vGvzlnj7zJTOG4cJQDrirSLOPA2JnQLbScjLiFJJCbQsYpPWcLS2jZYG9jqV2oGC+0FFa6TohXCe1hWpiFi+lskQ7ePrwZwP0Azj493J0nMB7dfYTbYefTwx3cD6K18e1XuPilf/Gm8xbKocl65fDL8RbheCsoVEbaBSJfN1Mlspzgsts/St1iseiKcNw1dtZrZV3vy3gw+v121GGZJkGvfLFXAwEsabJ6kz1MkJkspv2yf3nVfdO9YNnKOF8KveNPXMZOb0uH/bAzDf+t/bFtF08vvlcVQmmOIsC2asfBd5xfYtKuluzx3kiIK6hWPN/DWOCrpwYDJpi+srBNEsyN82xqtXoSjr7Zomn49c+abBh4Cc6FDSUep4dy/CwxnYrC0d/AePZHuzacw39lkz0J+XpQaJ4SgdYxRUzwmefIa5tuM2nWG0OAJV5mUq38jpqjvarZnf7D0ZfR3QgTFC1vb2fWc5hZ7QMbOOnl4fiKXvA3T9mTIu+4oz7T8v3mejx5VWBD+PE2YzZpmuYvTdeyeQ==
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 definition</h1>

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



Deletes a credential definition. Existing credentials issued under this definition are not affected.

## 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 the credential definition that specifies the credential format, type, and claims structure for OID4VCI issuance.","in":"path","name":"credentialDefinitionId","required":true,"schema":{"type":"string"}}}></ParamsItem></ul></div></details><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"204"} value={"204"}><div>

Credential definition 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>
      