auth
Mint a human-typeable CLI paste code
Mints a fresh session token for the current user and a short paste code (valid 5 minutes) the user re-types into the CLI to redeem it.
post/api/v0/auth/cli/code
Request
- Base URL: https://api.harmont.dev
- URL: https://api.harmont.dev/api/v0/auth/cli/code
- Auth: HTTP bearer
Response
The paste code
Example response
{
"code": "K7P2QR9MX3WZ4NTV"
}Changes
No recorded changes to this operation across all 1 revision of this API.