Owner Token

Mint a profile token with scope and expiry; the token is shown once

Changed on
post/api/owner-token/mint

Request

  • Base URL
    https://brewpage.app
  • Auth
    API key in header X-Owner-Token

Headers

X-Owner-Token, unknown required

Admin token of the profile

Request body

MintRequest required
label, string nullable
scope, 'publish' | 'admin' nullable
expiresIn, '30d' | '90d' | '1y' | 'never' nullable

Default: admin 90d, publish never

Response

Minted

MintResponse required
token, string required

Shown once

id, string uuid required
scope, string required
expiresAt, string date-time

Changes

    • info

      added the optional property level to the response with the status

    • info

      added the optional property level to the response with the status

    • info

      added the optional property level to the response with the status

    1 more change in this revision