DocsAPI ReferenceRouting/bff/routing/set-canonical
postRoutingAdmin BFF

/bff/routing/set-canonical

Marks a route as the canonical URL for its entity and locale. All other routes for the same entity, type, and locale are automatically unmarked. Canonical routes are used for link generation and SEO (rel=canonical).

RoutingpostBffRoutingSet-canonical

Parameters

1 body

1 total
Body · 1
idstringRequired

Route ID to mark as canonical.

Request

POST /bff/routing/set-canonical

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

Response

JSON payload

{
  "success": true
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key