mint_token
Create a new BrewPage profile token using an admin token, choosing publish or admin scope and an expiry; the token is shown only once.
Instructions
Mint a new profile token with an admin token; the new token is shown once. Scope publish (default) or admin; expiry 30d, 90d, 1y or never.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional label shown in the profile | |
| scope | No | publish (default) or admin (can manage tokens) | |
| expiresIn | No | Default: admin 90d, publish never | |
| ownerToken | No | Admin token of the profile. Default: BREWPAGE_OWNER_TOKEN. |