---
id: update-pid-credential-issuance-extension
title: "Update PID credential issuance extension"
description: "Sets the formats and the optional attributes of the PID definitions of the extension. The extension has one credential definition for each format: SD-JWT VC (`dc+sd-jwt`), ISO/IEC 18013-5 (`mso_mdoc`) or both. Each definition has the mandatory attributes of the PID Rulebook and the optional attributes that you give; an attribute that a format does not have (the house number in ISO/IEC 18013-5) is only in the other definition. The `id` of each attribute is in the answer of the read."
sidebar_label: "Update PID credential issuance extension"
hide_title: true
hide_table_of_contents: true
api: eJztO9tyGzl2v4JCHkxVmhQl05KG43JFI3kTTTZr10qzkypbpUY3DkmMuoEeAC2a69JbviSfli9JHVz6RtKWJ9mt2So9zFjsBg4Ozv3WnykHk2tRWaEkndNrsIbYFZCF0iWzhjDJ3W/lVrCCMGu1yGoLhqiFe/X+6pJwWAgpcEnzGD5ZkEYoOSE33Z9kxQxREkiugYO0ghWd7XgwAZavAgZzcn05/vHnG/KXCzJKef7Pho9/Wdv0ICFX1+8Or95ekKOz6dHL8SsySkuj7kqu8vSAKE0yZVcT8hZhdeDj6YheySRnVunNnhv9uS4gU+r+ixSwK2bJRtVkKR7ge8Jk+9K/Y+EahCswRCpLVuwByAgBrlRtgMi6zEATIYf3OSAC6VRs8J1DwK5Ad67i6ZoKniLejmbt6cLEbUyaNeh4NQ2MTz7Kj/Kc5CsmlxBfdG5VV5zhvzAgnZCkKlgOcyIsuQeoDBHWkKvLxBHJLRfG1MAdBf0KhJ0XTJSBWsKSNTNx3Vogj84lYZwDj8RaohQyImHdPR7XOnBGLKWQS3IPmx3Cdk40lOqhhYYcRzw7oDgUYIF7vPFdi7YhTIPjVCGMRRRXogBEW5jvEU08udUQwpZMSKLBWKXBX9ewErqn7ThkQn5egSSMGAsVWTBRmMTt7SrSUpGM5ffEKn9HpgsBmhiwVshlq5uBw8IEDi9qwwrH5Jve23Q2naVkjQf3aOYEbbFAnVkzRBR1EP/tEHryUdKEqgo0Q+SuOJ1TLyfvBb9oNPnKmJrJHN5G2DShGn6twdgfFN/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rant-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"}>Update PID credential issuance extension</h1>

<MethodEndpoint method={"put"} path={"/v4/config/platform/extension/pid-issuance"}></MethodEndpoint>



Sets the formats and the optional attributes of the PID definitions of the extension. The extension has one credential definition for each format: SD-JWT VC (`dc+sd-jwt`), ISO/IEC 18013-5 (`mso_mdoc`) or both. Each definition has the mandatory attributes of the PID Rulebook and the optional attributes that you give; an attribute that a format does not have (the house number in ISO/IEC 18013-5) is only in the other definition. The `id` of each attribute is in the answer of the read.

A change of the attributes updates each definition in place: it keeps its ID, and each issued PID keeps the claims that it was issued with. An added format gets a new definition with the signing key of the extension. A removed format has its definition deleted, and its issued PIDs are not listed while it is; adding the format again restores the same definition and its issued PIDs. When a step fails, the definitions go back to the earlier settings and the answer is the refusal.

The answer is `404` when the extension is off or waits for its signing key.


## 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><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"formats"} required={true} schemaName={"string[]"} qualifierMessage={"**Possible values:** [`dc+sd-jwt`, `mso_mdoc`], `>= 1`, `<= 10`"} schema={{"type":"array","description":"The formats of the PID definitions, one or both.","minItems":1,"maxItems":10,"items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}}}></SchemaItem><SchemaItem collapsible={false} name={"attributes"} required={true} schemaName={"string[]"} qualifierMessage={"**Possible values:** `<= 100`"} schema={{"type":"array","description":"The `id` of each optional attribute that the definitions have. A mandatory attribute is always in the definitions: giving it changes nothing. An empty list gives definitions with only the mandatory attributes.","maxItems":100,"items":{"type":"string"}}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

The credential definitions and the settings of the extension after the update.

</div><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={"extensionStatus"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"Always `true` in this answer. An extension that is not `enabled` gives `404`."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>credential</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 credential definition of the extension (the SD-JWT VC definition when the extension has one).

</div><SchemaItem collapsible={false} name={"credentialDefinitionId"} required={true} schemaName={"uuid"} qualifierMessage={undefined} schema={{"type":"string","format":"uuid","description":"The system-managed credential definition of the PID. Issue the PID with it."}}></SchemaItem><SchemaItem collapsible={false} name={"label"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The label of the definition."}}></SchemaItem></div></details></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>credentials</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"}}>

One credential definition for each format of `formats`.

</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"format"} required={true} schemaName={"string"} qualifierMessage={"**Possible values:** [`dc+sd-jwt`, `mso_mdoc`]"} schema={{"type":"string","enum":["dc+sd-jwt","mso_mdoc"],"description":"The format of the definition."}}></SchemaItem><SchemaItem collapsible={false} name={"credentialDefinitionId"} required={true} schemaName={"uuid"} qualifierMessage={undefined} schema={{"type":"string","format":"uuid","description":"The system-managed credential definition. Issue the PID in this format with it."}}></SchemaItem><SchemaItem collapsible={false} name={"label"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The label of the definition."}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={false} name={"formats"} required={true} schemaName={"string[]"} qualifierMessage={"**Possible values:** [`dc+sd-jwt`, `mso_mdoc`]"} schema={{"type":"array","description":"The formats of the PID definitions: `dc+sd-jwt` (SD-JWT VC) and `mso_mdoc` (ISO/IEC 18013-5).","items":{"type":"string","enum":["dc+sd-jwt","mso_mdoc"]}}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>attributes</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"}}>

Each attribute of the PID (PID Rulebook v1.7). Each definition has the mandatory attributes; it has an optional attribute when `selected` is `true`. An attribute is in a definition only when `paths` has the format of the definition.

</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"id"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The data identifier of the attribute in the PID Rulebook. Send it in `attributes` of the update."}}></SchemaItem><SchemaItem collapsible={false} name={"name"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The name of the attribute."}}></SchemaItem><SchemaItem collapsible={false} name={"description"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The definition of the attribute in the PID Rulebook, in short."}}></SchemaItem><SchemaItem collapsible={false} name={"reference"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"type":"string","format":"uri","description":"The section of the PID Rulebook that defines the attribute."}}></SchemaItem><SchemaItem collapsible={false} name={"mandatory"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"The attribute is in each PID definition."}}></SchemaItem><SchemaItem collapsible={false} name={"selected"} required={true} schemaName={"boolean"} qualifierMessage={undefined} schema={{"type":"boolean","description":"The attribute is in the PID definitions (always `true` for a mandatory attribute)."}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>paths</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 claim path of the attribute in each format that has it. Supply the value of the attribute at this path when you issue the PID.

</div><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>property name*</strong><span className={"openapi-schema__name"}> string[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><div style={{"marginTop":".5rem","marginBottom":".5rem","marginLeft":"1rem"}}>

string

</div><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></div></details></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>rulebook</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 rulebook that the attributes follow.

</div><SchemaItem collapsible={false} name={"name"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string","description":"The name and version of the rulebook."}}></SchemaItem><SchemaItem collapsible={false} name={"url"} required={true} schemaName={"uri"} qualifierMessage={undefined} schema={{"type":"string","format":"uri","description":"The rulebook, at the commit of that version."}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"extensionStatus\": true,\n  \"credential\": {\n    \"credentialDefinitionId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n    \"label\": \"string\"\n  },\n  \"credentials\": [\n    {\n      \"format\": \"dc+sd-jwt\",\n      \"credentialDefinitionId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"label\": \"string\"\n    }\n  ],\n  \"formats\": [\n    \"dc+sd-jwt\"\n  ],\n  \"attributes\": [\n    {\n      \"id\": \"string\",\n      \"name\": \"string\",\n      \"description\": \"string\",\n      \"reference\": \"string\",\n      \"mandatory\": true,\n      \"selected\": true,\n      \"paths\": {}\n    }\n  ],\n  \"rulebook\": {\n    \"name\": \"string\",\n    \"url\": \"string\"\n  }\n}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n  \"extensionStatus\": true,\n  \"credential\": {\n    \"credentialDefinitionId\": \"bfc046d0-dbbe-47b1-ba9c-425edaee48e2\",\n    \"label\": \"PID Credential Issuance (SD-JWT VC)\"\n  },\n  \"credentials\": [\n    {\n      \"format\": \"dc+sd-jwt\",\n      \"credentialDefinitionId\": \"bfc046d0-dbbe-47b1-ba9c-425edaee48e2\",\n      \"label\": \"PID Credential Issuance (SD-JWT VC)\"\n    },\n    {\n      \"format\": \"mso_mdoc\",\n      \"credentialDefinitionId\": \"0b5f91e0-d2aa-4461-a6ab-27f2cbd7ece8\",\n      \"label\": \"PID Credential Issuance (ISO/IEC 18013-5)\"\n    }\n  ],\n  \"formats\": [\n    \"dc+sd-jwt\",\n    \"mso_mdoc\"\n  ],\n  \"attributes\": [\n    {\n      \"id\": \"resident_city\",\n      \"name\": \"City of residence\",\n      \"description\": \"Municipality, city, town or village where the user currently resides.\",\n      \"reference\": \"https://github.com/eu-digital-identity-wallet/eudi-doc-attestation-rulebooks-catalog/blob/6d8f7f8422e5bf6c48186005b6835c078f762a67/rulebooks/pid/pid-rulebook.md#23-optional-attributes-specified-in-cir-20242977\",\n      \"mandatory\": false,\n      \"selected\": true,\n      \"paths\": {\n        \"dc+sd-jwt\": [\n          \"address\",\n          \"locality\"\n        ],\n        \"mso_mdoc\": [\n          \"eu.europa.ec.eudi.pid.1\",\n          \"resident_city\"\n        ]\n      }\n    },\n    {\n      \"id\": \"family_name\",\n      \"name\": \"Family name\",\n      \"description\": \"Current last name(s) or surname(s) of the user.\",\n      \"reference\": \"https://github.com/eu-digital-identity-wallet/eudi-doc-attestation-rulebooks-catalog/blob/6d8f7f8422e5bf6c48186005b6835c078f762a67/rulebooks/pid/pid-rulebook.md#22-mandatory-attributes-specified-in-cir-20242977\",\n      \"mandatory\": true,\n      \"selected\": true,\n      \"paths\": {\n        \"dc+sd-jwt\": [\n          \"family_name\"\n        ],\n        \"mso_mdoc\": [\n          \"eu.europa.ec.eudi.pid.1\",\n          \"family_name\"\n        ]\n      }\n    }\n  ],\n  \"rulebook\": {\n    \"name\": \"PID Rulebook v1.7\",\n    \"url\": \"https://github.com/eu-digital-identity-wallet/eudi-doc-attestation-rulebooks-catalog/blob/6d8f7f8422e5bf6c48186005b6835c078f762a67/rulebooks/pid/pid-rulebook.md\"\n  }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>

Bad request. The body is not valid (`'formats' and 'attributes' are required`, an unknown member), it has no format (`formats: choose one or more formats of the PID`), a format that is not a PID format, or an attribute that is not an attribute of the PID. Or the wallet refuses a definition (`The PID definitions cannot be changed: <reason>`), for example because the organisation has another definition with the same label.

</div><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 API key is missing or not valid.

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

The extension is off or waits for its signing key (`Extension 'pidIssuance' is not enabled for organisation '<organisationId>'`).

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

The extension is being enabled, disabled or changed by another request, or its definitions do not share one signing key (choose the signing key of the extension first).

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

Internal server error.

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