{% extends "base.html" %}
{% block title %}API tokens | SUB-ALIGATOR{% endblock %}
{% block content %}
{% if has_new_token %}
Tokens authenticate the JSON REST API under No API tokens yet./api/v1/ via the Authorization: Bearer header. See the README for endpoint documentation.
{% endif %}
{% for t in tokens %}
Name
Token
Status
Created
Last used
Actions
{% endfor %}
{{ t.name }}
{{ t.token_prefix }}…
{% if t.enabled %}
active
{% else %}
revoked
{% endif %}
{{ t.created_at_local }} ({{ t.created_by }})
{{ t.last_used_at_local }}
{% if t.enabled %}
{% else %}
{% endif %}