---
id: update-o-auth-2-0-client
title: "Update OAuth2.0 Client"
description: "Updates an OAuth2 Client for use with a Data Marketplace."
sidebar_label: "Update OAuth2.0 Client"
hide_title: true
hide_table_of_contents: true
api: eJzlV81u2zgQfpUBTy2g2G6avQhFsUnaLbK/RZNgD6mBjKWxzIYiWZKy4zV02yfZR9snWQwlW5KdFM3u3nqzRXI4883MNx83IiefOWmDNFqk4trmGMgDavjttAqLYzhXknSAuXFQeYKVDAtAeIMB4Rd0dxSswoxGIhEWHZYUyHmR3myExpJEKrJ4/iIXiZB8g8WwEIlw9LmSjnKRBldRIny2oBJFuhFhbfmcD07qQtT1tNlMPpyZfM07MqMD6cA/0VolM2Tvx588h7DpmbLOWHJBko/Hoie/Rrc2e3G3UfIimDmEBQ3jF8m+X0lr703fziNme3u+0nrdR+im7/p0t9fMPlEWRF03u7012jeRHk8mh77spwwcKQyU7yW6ihXA6fqXMBtkc21gXT5bb5MHk3KRH/p78eaJmbikzFE4NNR8f6Kxh8vk/66PpxdGIgqHOlytbYPf0N47XoO4CKiUWVEeO/erDAdZkg9Y2kO7V9ulB72EzBE2MThQ6AOUJpfztmC6q6QOj1R2pIdBFgd5GATdd3TK5vYLzNFnWbXmB8U4jZ2yIMwjR23EeVPhR1fRwuaQhGKtJ4LusbSKPxw0Qp3st3zPJjR3iXjvyeTFk8irjxI5Z9y5yRmK+LtfVQeMsN9j3ekuMqkDFeT6wZ1MJvUD5g8ouY/HGeYgta0C7Ng/EtIBLNeaM2Gc/CNyS5eEBpqTbxiaD+RN5TICbXjOVvoQoO8aQv9GAbrQgZxGBZ7ckhzEa/YwqhPhKaucDOuoPs4IHTlmKZHeTFlEBCxYmIgz9ATnRs9lUbkIoGcYSgoLk7NAqSIKLFNSMV6+HGdx7zjHgEfeYkbjhlWOGoYab7YcVgt2gl1sFNA+15emjUAkonJKpGIRgvXpeJxTaY7QypGMRDeSRtTJwRwLWEhdPGbDN8v7ZqYdMJdcH01aT638ida9/GDzoRVpLW8lWxF32vbultCHjp2+v4A7WgOjQjq0ZTmCqwXBElW1G5m3Azu3LT1CWfkAMwLraC7vKW9E5m3jI9zCM20CRQPBoVQRA87D8wRoVIz2zKbQHny1NpVjOI7uaP36dsRc3S+LjZjFfz8YV2IQqfjx96vD2LKMvIdg7kiDRe+37jWWWp9Bahg4ATsEY1Myhs1l3TTkvMVxyO37oVO4b7cNMlSsXQc9oCt6U1zqudlyBWaRK6hEyZXiK2uNC9931bFLsHzXfRqWVb8i97DZHYJnf//513OQHhAuV5RLvwBuF6D7bIG6IECdw5LcThTEIpYZ59wsZU5uBBeBHxgePKn5kTdLciQLDTLnkgrrpD2PM0UsOOJnVD4BhFwWMqCCFSpFIV7mjZI5WJNDoGyhjTKFJJ8AaZzFCkLQtAJFS1JcnsxpkfhwJpUM62gEq2BKDLw9M6VVEnXWPoFieI6KSjUUwhWAMK+U4j7IZYh+lqg1OX4cKZmR9jGr256ymC0IjkeTA8xXq9UI4/LIuGLcnvXjny/O3/56+faIz0TBFtQgecCdmJusKkmHba8yHTX5Op4cn4xejl7wWWt8KFH3/Gmefq2yG006oZgPCX03hP7TY7FtgkD3YWwVyqikIgqblntvxPJl8wqZSy77jn9FIgYMLBKR7nTkNBEL4wOf32xm6Onaqbrmz58rcjwcpolYoouF1NC09Pw7F+kclacvBPzsQztXn8NjIWzpVDOXRvITqRCJuGO27dRuPd0p0ehDszzQo93xB0Tn9gTTkw1f3Nufbe+vmeFm7Tu6jGNdOFyxasaVSMVH8ZG9NbaZiywl+PtGKNRFhcVOFMeJiy2PtkHvGK79wYE9iMerljyvmFVf79CJJMvQ1PU/rubF3A==
sidebar_class_name: "put 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"}>Update OAuth2.0 Client</h1>

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



Updates an OAuth2 Client for use with a Data Marketplace.

## 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><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></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"clientName"} required={true} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"Client Name of the OAuth2 Client","type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"clientDescription"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"description":"Client Description of the OAuth2 Client","type":"string"}}></SchemaItem></ul></details></TabItem></MimeTabs><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

Data Marketplace related OAuth2 Client updated

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