Skip to main content
DELETE
Toggle addon active state (legacy route, same handler as PUT /toggle)
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

DELETE /addons/ Despite the HTTP verb, this does not delete the TenantAddon row — it calls the identical toggleTenantAddon handler as PUT /addons/{addonId}/toggle, reading active from the request body. Kept for backward compatibility; prefer the PUT .../toggle route for new integrations. 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
active
boolean
required

Response

Addon activated or deactivated

success
boolean
Example:

true

message
string
data
object

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