Change a brand
Its name, branding, links, sign-up switch and built-in ways to sign in; never its issuer slug. Needs `org.brands.edit`. Recorded as `brand.updated`; send null to clear a setting.
/v1/orgs/{org}/brands/{brand}Its name, branding, links, sign-up switch and built-in ways to sign in; never its issuer slug. Needs org.brands.edit. Recorded as brand.updated; send null to clear a setting.
Authorization
bearer An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://example.com/v1/orgs/string/brands/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "org_id": "string", "issuer_slug": "string", "issuer": "string", "custom_domain_issuer": "string", "name": "string", "is_default": true, "sign_up_enabled": true, "sign_in_cancels_deletion": true, "breached_password_check": true, "show_last_used": true, "built_in_methods": { "email": true, "password": true, "passkey": true, "wallet": true }, "logo_url": "string", "primary_color": "string", "background_color": "string", "support_email": "string", "privacy_policy_url": "string", "terms_of_service_url": "string", "created_at": "2019-08-24T14:15:22Z"}Change a brand's theme PATCH
Changes the settings sent and keeps the rest; null unsets one. Settings only: raw CSS, or anything else, is refused. Advanced settings need a plan with the advanced theme, and hiding "Powered by Synq" a plan that allows it; unsetting either needs neither. Needs `org.brands.edit`. Recorded as `brand.updated`, each setting as `theme.<name>`.
Check a brand's custom domain now POST
Looks at its DNS and certificate now rather than at the next scheduled check, and carries it on as far as it can go. Once a minute for a domain. Needs `org.brands.edit` and a plan with `branding.custom_domain`.