products

Update Allowed Domains

Update allowed domains for a product (authenticated)

  • Set allowed_domains to null to allow all domains (disable restrictions)
  • Set allowed_domains to [] to block all domains
  • Set allowed_domains to ["example.com", "*.example.com"] to allow specific domains

Supports wildcard subdomains: *.example.com matches sub.example.com Localhost is always allowed for development.

put/api/products/{product_id}/allowed-domains

Request

Path parameters

product_idstring required

Headers

authorizationstring required

Request body

allowed_domainsstring[] nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 4 revisions of this API.