Whitelabel
Delete Domain
Deletes a custom domain. If the deleted domain was primary, the next available domain is promoted to primary. Admin-only.
DELETE /api/organization/whitelabel/domains/:id
Example (cURL)
curl -X DELETE "$BASE_URL/api/organization/whitelabel/domains/2" \
-H "Cookie: $SESSION_COOKIE"Response
{ "success": true }Common errors
401 Unauthorizedwhen not authenticated403 Forbiddenwhen not an admin404 Domain not found
Add Domain
Adds a custom domain for whitelabeling. Creates a pending DNS verification record. The first domain is automatically set as primary. Requires admin role.
Get Branding
Returns the organization's branding configuration, including product name, theme colors, and signed URLs for logos and favicons. Requires admin role.