Activate or deactivate an addon (preferred toggle endpoint)
Addons
Activate or deactivate an addon (preferred toggle endpoint)
PUT /addons//toggle
PUT
Activate or deactivate an addon (preferred toggle endpoint)
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
PUT /addons//toggle If the tenant has noTenantAddon row yet, creates one with default
settings and active: true (ignores the request active value in
that case). Otherwise updates the existing row’s active flag.
Functionally identical to DELETE /addons/{addonId} — both call the
same toggleTenantAddon handler; this is the semantically clearer
route to use.
Authorization:
- Required role:
adminor higher
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Available options:
distro, payment_requests, publisher Body
application/json