Skip to main content
PATCH
Update Several Providers' Visibility
Turns the named providers on or off in one request. Only the providers you list are touched — every other provider keeps whatever it had, which is what separates this from Replace the Provider Allowlist. Idempotent, and turning a provider off keeps its instruction override.
The whole request is validated before the first row is written: a repeated provider_id changes nothing rather than half of what you asked for.

Body

object[]
required
The providers whose visibility changes in this request. At most 500 entries, and each provider_id may appear at most once.

Response

The refreshed overlay, in the same shape as List the White-label Provider Overlay.
boolean
Whether your organization has at least one allowlist entry, after this change.
object[]
The union of your allowlist, your instruction overrides, and your logo overrides.

Errors

Authorizations

PUBLIC-API-KEY
string
header
default:<Your PUBLIC-API-KEY>
required
PRIVATE-SECRET-KEY
string
header
default:<Your PRIVATE-SECRET-KEY>
required

Body

application/json

The providers whose visibility changes.

providers
object[]
required

The providers whose visibility changes in this request. At most 500 entries, each provider_id at most once.

Maximum array length: 500

Response

The refreshed overlay.

filtered
boolean

Whether the organization has at least one allowlist entry. Branch on this, never on the length of providers — the list is also non-empty when the only entries are instruction or logo overrides.

Example:

true

providers
object[]

The union of the allowlist, the instruction overrides, and the logo overrides. A provider can carry custom wording or a custom logo without being offered, in which case it appears with allowed: false.