Skip to main content
GET
/
tokens
Get Tokens
curl --request GET \
  --url http://localhost:8080/tokens
[
  {
    "id": 123,
    "name": "<string>",
    "prefix": "<string>",
    "is_active": true,
    "created_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "expires_at": "2023-11-07T05:31:56Z",
    "last_used_at": "2023-11-07T05:31:56Z",
    "last_used_ip": "<string>",
    "created_by": "<string>"
  }
]

Response

200 - application/json

Successful Response

id
integer
required
name
string
required
prefix
string
required

Первые символы токена для идентификации

is_active
boolean
required
created_at
string<date-time>
required
description
string | null
updated_at
string<date-time> | null
expires_at
string<date-time> | null
last_used_at
string<date-time> | null
last_used_ip
string | null
created_by
string | null