Skip to main content
POST
Deactivate Tenant Source by RoyaltySource ID
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Required Permissions

  • sources:update

Important: ID Parameter

The id parameter represents the RoyaltySource ID, not the TenantSource association ID.

Side Effects

  • Sets isActive=false on the tenant source association
  • Triggers regeneration of tenant’s sales data query cache
  • Updates tenant-specific BigQuery query configurations

Code Examples

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

RoyaltySource ID (not TenantSource ID)

Example:

"src-1"

Response

Source deactivated successfully

status
string
Example:

"success"

message
string
Example:

"Source deactivated successfully"

data
object | null
Example:

null