---
id: config-delete-digital-wallet-open-id-trust-authority
title: "Delete trust authority"
description: "Deletes one trust authority of the organisation. Give the trust authority ID in the path. After deletion, the service no longer uses this trust list to validate issuers and verifiers."
sidebar_label: "Delete trust authority"
hide_title: true
hide_table_of_contents: true
api: eJzlV1tv2zYU/isH5ykG5EscZ22NolgWZ5vbYg0WJ3koDIQRjy02MqmSlFPX0H8fDinfVHfb04CheYgFief2nct3uEZJLrWq8MpoHOKIcvLkwGgCb0vnQZQ+M1b5FZgZ+IzA2LnQygmW6MBvaknhdfP0eARKhy+F8FkHLmaeLEjWr4xOwhdHdqlSAm0gN3pOFkpHDnymXK0vV86DN7AUuZLCEyjnSrIOhJawJKtmiqzrYIKmIBt8GkscYmr0TM1jNCM1V17k9yLPyX8oSI/lhJVfbHzFBAthxYI8WYfDj+sGKLdafS4JlCTtg0E4ub0dj1qMiPh3MF1wBCUjJTwoB9p4EMBaYK6W5OD3yeQaBr0eh6LYKKOGCWqxIByiP3B4LDFBS59LZUni0NuSEnRpRguBwzX6VcEyzlul55jgzNiF8DjEslQSqwTpi1gUOZ95fCFPZwPRb79Mz6g9EK9O269m5/12T56lP9ELcfo4OMdqytZcYbQjxwb6vR7/HKI02UtoSDPJY4XRAT64UQeZYDDg0cgVh56RkCEJ66pKcBDtpEZ70p4fRVHkKg2gdj85trveC3wHyUcka429NJIwic+jPW+nyQYk8/iJUs8VYLmCvIoR7qR3eCrtaU4W9/Ab9HrVEfVHcrCD/BchQemi9LAtOqz4LzkC6LGu2q+eY5id/sCY3eoaq68kj0Az+IGhmTSG0qb1miX2rHwWR/Cx8jr/oVtyrD1ZLfIw6MhCMNPAqErQUVoGYmEuuSjUO+LHKc9RL+ZMMViTEkRWgpPAS6PB3WULEwz0BBc6zYxlYBbkM8O0Fudq4Cuf4RC7y343Ul1XRoXt56CwawrSSnZDctvb5HbXTSKpkN3lYI4x34gWpo4VEyxtjkPMvC/csNuVtDBtUaiOmluhfUcZrJKmgmtrZJmGcvuOmn/ScOPFXOn598Rd/Nx0ZLpLwg3XYiyhTSq2tSDii5pyYxZ3pFvD9DXUNjZr4eJ6DE+0Cp3Di0FaUz33WST7ehN4ONDzANEMLDjHjwSFpZn6QjI23kP0ER7gRBu/Wa2EygMGhUiplQB15p2G2iHUgq9XprQMR/uJVm8eOsgFqfTMbNpWpKFtaSEUA+nKojDW/7wDbxu/+m336hD1/YQ1YNkKQWHNUklyICA13Gm8vvHvgrSPI6hGKBY/zIyFu7DTicec4NJS2LhE7mDsXCl0SnDyIXTJuBU2wOOC15bc1sS2s65b7JE3qckdZ0k54BSSZhlXj8YIpuOVM2yaCWQml8lu3VxB3WiQ7rlXupAeL7QUVrp2iFcJ7WGWm2cXU1sjHby9P7uEu0s4eXs/aSUwvpr8Cjej9tv7CdxdRmvjmw9w+rJ3etY+h8XIpN3F6P2eTYhLXVh9c5WSdmEubiq3EGlG0O/0vknd8/NzR4TPHWPn3VrWdd+PL6/+uLlqs0yVoFc+P6iBAJY0abnNHibIYyOmvd/rDzpnnVOWLYzzC6H3/ImLeJNqmi21Ryv/44tIPVo8ffHdIhdKMyQhB+t6bH/EZR+T+o7CIByM7niX0Yr3l8b4xiQs+4c3gWmCmXGe1a7Xj8LRrc2ril9/LskG4klwKWzojTjjleNnicOZyB39TRZO/qzpuwX/9SXoKIybsa0ZiqAMh4gJPvFU//aSVE2rDTeHwOOxizSlwu8p+GaDqfY5d3T1/mpyhQlydIfc8RS4o35gA0f9a9JI9IL/M9sdFXnNzfaOVm+2x+OX7wpsqSueZrSmVVX9BdDLggU=
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 trust authority</h1>

<MethodEndpoint method={"delete"} path={"/v2/config/digital-wallet/openid/trust-authority/{trustAuthorityId}"}></MethodEndpoint>



Deletes one trust authority of the organisation. Give the trust authority ID in the path. After deletion, the service no longer uses this trust list to validate issuers and verifiers.

## 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 (UUID) of a trust authority of the organisation. A value that is not a UUID gives HTTP 400.","in":"path","name":"trustAuthorityId","required":true,"schema":{"type":"string","format":"uuid"},"example":"b7d1f4a2-8c3e-4a91-9f52-0d3c6e7a1b45"}}></ParamsItem></ul></div></details><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

The service deleted the trust authority. The response has no body.

</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={"400"} value={"400"}><div>

The trust authority ID is not a UUID.

</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={"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={"404"} value={"404"}><div>

The organisation has no trust authority with this ID.

</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>
      