Herald
OpenapiOauth

Update OAuth provider configuration

PUT
/api/oauth-configs/{providerType}

Path Parameters

providerType*string

Provider type

Request Body

application/json
  1. body
clientId?string|null
clientSecret?string|null
enabled?boolean|null
scopes?array<string>|null

Response Body

OAuth provider configuration updated

application/json
  1. response
clientId*string
createdAt*string
enabled*boolean
id*string
Formatuuid
providerType*string
realmId*string
scopes*array<string>
updatedAt*string
Example Request
curl -X PUT 'https://example.com/api/oauth-configs/string' \
  -H 'Content-Type: application/json' \
  -d '{}'
Example Response
{
  "clientId": "string",
  "createdAt": "string",
  "enabled": true,
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "providerType": "string",
  "realmId": "string",
  "scopes": [
    "string"
  ],
  "updatedAt": "string"
}