{% extends "base.html" %} {% block title %}API Tokens - Admin - LSMC Atlas{% endblock %} {% block content %}
{{ stats.total }}
Total Tokens
{{ stats.active }}
Active
{{ stats.expired }}
Expired
{{ stats.revoked }}
Revoked
Clear Export CSV

All Tokens ({{ tokens|length }})

{% if tokens %}
{% for token in tokens %} {% endfor %}
User Token Name Prefix Status Created Expires Last Used Usage Actions
{{ token.user_email }} {{ token.token_name }} {{ token.token_prefix }} {% if token.status == 'ACTIVE' and not token.is_expired %} Active {% elif token.status == 'REVOKED' %} Revoked {% else %} Expired {% endif %} {{ token.created_at.strftime('%Y-%m-%d') }} {{ token.expires_at.strftime('%Y-%m-%d') }} {{ token.last_used_at | format_dt(user_preferences) if token.last_used_at else 'Never' }} {{ token.usage_count }} {% if token.status == 'ACTIVE' and not token.is_expired %}
{% else %} {% endif %}
{% else %}

No tokens found matching the current filters.

{% endif %}
{% endblock %}