Issue a personal access token
Changed onIssuance is session-authenticated — a logged-in user mints PATs via the web app. PATs cannot mint other PATs (chicken-and-egg). The raw secret is returned exactly once.
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/api/v1/tokens
- Auth: API key in cookie sb-fmbpikzpkafptqximhxn-auth-token
Request body
Example request
{
"name": "ci-pipeline"
}Response
Token created. Capture the token field — it is unrecoverable.
Example response
{
"token": "bk_pat_AbCdEfGhIjKl.MnOpQrStUv...",
"warning": "Store this token now — it cannot be retrieved later."
}Changes
- warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status - warning
added the new
test_outside_plan_projectenum value to the/response property for the response status
- warning
- info
removed the
test_outside_plan_projectenum value from the/response property for the response status - info
removed the
test_outside_plan_projectenum value from the/response property for the response status - info
removed the
test_outside_plan_projectenum value from the/response property for the response status
- info