Skip to main content
PUT
Update a tenant's addon settings
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

PUT /addons/ Merges default settings, the addon’s current settings, and the request body’s settings (in that precedence order), re-validates against the row’s existing settingsVersion, updates the TenantAddon record and the individual TenantSetting rows. For AddonName: publisher, also best-effort syncs the tenant’s Publisher record from the merged settings after the transaction commits. 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

addonId
enum<string>
required
Available options:
distro,
payment_requests,
publisher

Body

application/json
settings
object
required

Partial settings object to merge over current settings.

Response

Addon settings updated

success
boolean
Example:

true

message
string
data
object

A tenant's activation record for one addon (TenantAddon model, composite PK TenantId + AddonName).