JustFlows

Management API / Content

Set page header

PUT/api/manage/v1/content/{id}/header-ref

Chooses which header from the header library a page renders.

Authorization

  • Authorizationheaderrequired

    Bearer jfk_…: an API key created in Admin → Settings → API.

  • Required capabilitycontent:update

    The key and its owner must both hold it. Content scopes on the key are applied to this request as well.

Path parameters

  • idstringrequired

    The resource id.

Body

application/json
  • refstringrequired

    A header library entry id, __default__ for the site default, or __none__.

Response

  • 200OK
  • 401Missing, unknown, revoked, expired, or out-of-scope key.
  • 403The key or its owner lacks the required capability or scope.
  • 404No such resource on this site.
  • 429Per-key or per-IP rate limit exceeded. Wait for the seconds in Retry-After.