BizKitHub
DocsAPI ReferenceDomain/bff/domain/set-primary
postDomainAdmin BFF

/bff/domain/set-primary

Marks the given verified production domain as the organisation's canonical public URL. Post digest, RSS and article-URL builders read this flag; unset defaults fall back to {slug}.bizkithub.com.

DomainpostBffDomainSet-primary

Parameters

JSON body

Request body

application/json
domainstringRequired

Domain name to mark as the organisation's canonical public URL.

Exampleexample.com

Response schema

1 status code documented

200Success
successbooleanRequired

True if the primary flag was updated.

Default: true

Response example

application/json
{
  "success": true
}

Request example

POST /bff/domain/set-primary

post
curl -X POST "https://api.bizkithub.com/bff/domain/set-primary" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "domain": "example.com"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key