All API tokens (admin)
GET
/api/v1/tokens
Authorizations
session
Type
API Key (cookie: pvmon_session)
or
token
API token pvm_<id>_<secret>.
Type
HTTP (bearer)
Responses
The tokens without their secrets.
application/json
JSON "tokens": [ { "id": "string", "name": "string", "scope": "string", "created_at": "2024-01-01T00:00:00Z", "expires_at": "2024-01-01T00:00:00Z", "last_used": "2024-01-01T00:00:00Z" } ]
{
}