---
id: delete-o-auth-2-0-client
title: "Delete OAuth2.0 Client"
description: "Deletes a Data Marketplace related OAuth2 Client."
sidebar_label: "Delete OAuth2.0 Client"
hide_title: true
hide_table_of_contents: true
api: eJzlV81u20YQfpXBnhKA+onjXoQgqGO7gds0LWIFPRgCPCJH0sbLXWZ3KFkVeOuT9NH6JMUsKYkUk8LpNSdRu9xvZ76Z+Wa4UxmF1OuCtbNqoq7IEFMAhCtkhF/RPxAXBlMCTwaZMvjtouTVGVwaTZaHKlEFesyJyQc1udspizmpiUrj/k2mEqUFuUBeqUR5+lxqT5masC8pUSFdUY5qslO8LeRcYK/tUlXVTF4OhbOBguyfjcfyc2Lvk6yELLoltqTOMlkWJCwKo1MUpNGnIHC7ljmFdwV51vXlDgWuRmsZ6+afKGXhoPP2wfeevTdX4BbAK+oaqJJT95MG5JZST9wHqte/Eex9DM0plKx+I9BVG6AXk+O/J8MuPVqebouavy7eW9mDuAlojNtQBgvnnwbMOqfAmBd93Ol+64tWQuoJax88GAwMucv0okmY41XasqqqdmLftXO/E8VOHDpOtw2dCdxpgnn6rMsGvpOMs0peXxFmsQB36rLO8ME0Iuz6FRZzPVH0iHlhZKFXCFVyQlUbE+q7VLz3fPwiJvxTq6rNEnnv/KXLhIr43M6qWZ+Cbo0dTx8905ZpSb7t3Pl4XH0Bvqc3bT7eYAbaFiXDQdrE26pHy0crkXBe/xm15RiEmprz75iaDxRc6VMC6xgWrrR9gn6oBf07JejGMnmLBgL5NXmI15xwVCUqUFp6zdvYWt8QevKiUmpyN5MOybiUrqveYCC4dHahl6WPBAahISdeuUxNVN0AY7OWw2q0fjlK4+ujDBkHocCURrWwDGqRGu32MlYpsUOsrDv8qdznrnFCJar0Rk3UirkIk9Eoo9wNsNBDHbVuqJ2qkl4rY1xqu/waRqi3T2FmR25uJUXqyF4U+hfatkKE9UIzhDTSleyHlIumfPea3jXs4vcbeKAtCCtkucnMIUxXBGs05aFr3ndw7huFhLwMDHOCwtNCP1IGG80ruK9thHt4Zh1TBGCP2kQOJA7PE6DhcngCO4Hm4KutK73QMXig7ev7och1OzN2ah7//eR8jqwm6uc/pn3f0pRCAHYPZKHAEPbm1UiNzaAtdIyAA4OxLoXD+rJjQ5S4xY6o7cLtCxzTWOCUo5bYhrIonOcfj/E8hES/PS51E6GdQyfeHA7Bs3/++vs5aJlgbzeU6bACSXCgx3SFdkmANoM1+UMnj2mnU4mSW+uM/BBuGMpAAQKZxSC4NXnSSws6kyTgbdKcx7khmRLiMpqQAEKml5rRwAaNIY6XBWd0BoXLgCldWWfcUlNIgCzOY8wRLG3A0JqMJJQIUVQrnGujeRtBsGSXI8vrqcsLo9GmVAcsuudpWZq67iVmCIvSGMncTHO0M0drycu4bnRKNkTp21dBgemK4Gw47nG+2WyGGLeHzi9Hzdkwendzef3+9nogZ+KUxaYTPJDayVxa5mR5X10iIHW8zsZn58OXwxdytnCBc7Qte+qPkGYcG46P013WVeFD5/hfny1NujI98qgwqOPYE73fNSp5p9Yv60+GhRaVPyqlSlRHK1WiJoehb5aolQss53e7OQb66E1VyfLnkrwo+SxRa/QxgWpB1UGeMzVZoAn0H44++9A0wefwNRf2wmdF9aJMqYlSiXoQXTyOptXsMDZGG+ptkYWCWwf7s2G7rVxdv7ueXqtEYaM8zeUHTWge5IIv2vWqkZup6NDrg5VRlsTEqvoXzIoV8w==
sidebar_class_name: "delete api-method"
info_path: docs/datamarketplace-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 OAuth2.0 Client</h1>

<MethodEndpoint method={"delete"} path={"/v3/config/data-space/oauth2-client/{clientId}"}></MethodEndpoint>



Deletes a Data Marketplace related OAuth2 Client.

## 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={{"name":"clientId","in":"path","required":true,"schema":{"type":"string"}}}></ParamsItem></ul></div></details><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

Data Marketplace related OAuth2 Client deleted

</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"}}><li className={"schemaItem"}><summary style={{}}><strong>Content-Type</strong><span style={{"opacity":"0.6"}}> json</span></summary><div><div style={{"marginTop":".5rem","marginBottom":".5rem"}}>

Content-Type header

</div></div></li></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"}>oauth2Client</strong><span className={"openapi-schema__name"}> object</span></span></summary><div style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"clientId"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"ID of the OAuth2 Client","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"clientSecret"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"Secret of the OAuth2 Client","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"clientName"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"Name of the OAuth2 Client","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"clientDescription"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"Description of the OAuth2 Client","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"grantTypes"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"Grant Types allowed for the OAuth2 Client","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"timestamp"} required={true} schemaName={"int"} qualifierMessage={undefined} schema={{"description":"Timestamp of the OAuth2 Client creation or last modification","type":"int"}}></SchemaItem></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n  \"oauth2Client\": {\n    \"clientId\": \"string\",\n    \"clientSecret\": \"string\",\n    \"clientName\": \"string\",\n    \"clientDescription\": \"string\",\n    \"grantTypes\": \"string\"\n  }\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>

Resource not found

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