Internal Update Org Feature Flags

patch/api/v2/internal/organization/{organizationId}/featureFlags

Enables or disables a single org-level feature flag for a given organization. Uses additive/subtractive semantics ($addToSet / $pull) so it is safe for automated callers — it will not clobber other flags.

Called by reserve-depletion monitoring logic when an org's ACH reserve is fully depleted (to disable achDebitsEnabledAllEnterprises).

Path Parameters

  • organizationIdstringRequired
    The organization ID
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$
    Min length: >= 1 characters

Request Body

action string required
Whether to enable or disable the feature flag
Allowed values: enable disable
Example: disable
featureFlag string required
The feature flag to enable or disable
Allowed values: disableLivenessAsDefault dontSendStatementEmailNotifications userManagementServiceEnabled achDebitsEnabledAllEnterprises isTriPartyAutoAcceptEnabled tokenManagementServiceEnabled CaaSEnabledFiatPolicies euRegulated
Example: "achDebitsEnabledAllEnterprises"

200 Response

organization object required
enterprises array[string]
The list of enterprises associated with the organization
id string required
The organization ID
name string
The name of the organization
pricingPlanOne of
The pricing plan for the organization
enterpriseNameSuffixOne of
The suffix for the enterprise name
salesforceAccountId string
The Salesforce account ID
defaultEnterpriseValues object
The default values for the enterprise
approvedVideoIdUsers array[string]
The list of approved users for video ID
defaultOrgEnterpriseTemplateId string
orgFeatureFlags array[string]
All feature flags that should be set on the organization
Allowed values: disableLivenessAsDefault dontSendStatementEmailNotifications userManagementServiceEnabled achDebitsEnabledAllEnterprises isTriPartyAutoAcceptEnabled tokenManagementServiceEnabled CaaSEnabledFiatPolicies euRegulated
reserveGoAccountId
string or null
The ID of the organization's reserve holdings Go account
licenses array[string]
Organization-level licenses
Allowed values: DAppConnections KycExemption
businessModel
string or null
The business model for the organization
Allowed value: cryptoAsAService

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id

404 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id