{% extends "admin/base.html" %} {% block title %}API tokens · bragi admin{% endblock %} {% block content %}
Personal access tokens authenticate scripts and bots on the JSON API at /admin/api/sites/<slug>/posts/, using the Authorization: Bearer ... header. HTML admin routes reject bearer headers; use a browser session and CSRF token for those routes.
No tokens yet.
{% else %}| Name | Scopes | Created | Last used | Expires | |
|---|---|---|---|---|---|
{{ tok.name }}brg_{{ tok.public_id }}_... |
{{ tok.scopes | join(', ') or 'none' }} | {{ tok.created_at or '-' }} | {{ tok.last_used_at or 'never' }} | {{ tok.expires_at or 'never' }} |