create_api_token
Create a BunkerWeb API token (Biscuit) for use outside this server. Provide an API username and password, or omit both to use the server's credentials.
Instructions
Create a BunkerWeb API token (Biscuit) for use outside this server; returns only the token, a live credential to keep secret. Give username and password, or omit both to use the server's credentials. Needs an API user; lifetime is BunkerWeb's API_BISCUIT_TTL_SECONDS. Redaction may mask it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | No | Extra JSON fields for the /auth body; a username or password in it overrides the parameters | |
| password | No | Password of that API user | |
| username | No | API user name; give it with password, or omit both to use the server's credentials |