Skip to main content
PUT

Description

validated per-field (see the field table above) and the response includes the freshly assembled webhook config alongside the updated setting. Rejects names starting with distro- (managed separately via /distro/settings). Authorization:
  • Required role: admin or higher

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

name
string
required

Setting name, e.g. webhook-config.url, webhook-config.retryAttempts

Body

application/json
value
any
required

New value for the setting. Type depends on the setting name — see the field table above.

Response

Setting updated successfully

message
string
Example:

"Webhook setting updated successfully"

setting
object
webhook
object

Returned only when requested via ?include=webhook/?assembleWebhook=true, or after a PUT to a webhook-config.* setting