Update OAuth2.0 Client
PUT/v3/config/data-space/oauth2-client/:clientId
Updates an OAuth2 Client for use with a Data Marketplace. Use an API key with the scope data-space:update (an older API key: config).
Request
Path Parameters
clientId stringrequired
- application/json
Body
clientName stringrequired
Client Name of the OAuth2 Client
clientDescription string
Client Description of the OAuth2 Client
Responses
- 200
- 401
- 404
- 500
Data Marketplace related OAuth2 Client updated
Response Headers
Content-Type json
Content-Type header
- application/json
- Schema
- Example (from schema)
Schema
oauth2Client object
clientId string
ID of the OAuth2 Client
clientSecret string
Secret of the OAuth2 Client
clientName string
Name of the OAuth2 Client
clientDescription string
Description of the OAuth2 Client
grantTypes string
Grant Types allowed for the OAuth2 Client
timestamp int
Timestamp of the OAuth2 Client creation or last modification
{
"oauth2Client": {
"clientId": "string",
"clientSecret": "string",
"clientName": "string",
"clientDescription": "string",
"grantTypes": "string"
}
}
Unauthorized
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
errorDescription string
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Resource not found
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
errorDescription string
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Internal server error
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
errorDescription string
{
"errorCode": 400,
"errorDescription": "Bad input parameter"
}
Loading...