Herald
OpenapiRealm_config

Create or update a config (upsert)

PUT
/api/configs

Request Body

application/json
  1. body
configKey*string
configType*string
configValue*string
enabled?boolean|null
isSecret?boolean|null
metadata?unknown

Response Body

Config created or updated

application/json
  1. response
configKey*string
configType*string
configValue?string|null
createdAt*string
enabled*boolean
id*string
Formatuuid
isSecret*boolean
metadata?unknown
realmId*string
updatedAt*string
Example Request
curl -X PUT 'https://example.com/api/configs' \
  -H 'Content-Type: application/json' \
  -d '{
  "configKey": "string",
  "configType": "string",
  "configValue": "string"
}'
Example Response
{
  "configKey": "string",
  "configType": "string",
  "configValue": "string",
  "createdAt": "string",
  "enabled": true,
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "isSecret": true,
  "metadata": null,
  "realmId": "string",
  "updatedAt": "string"
}