GET /api/v1/auth/me
Me
Авторизация: нужен Authorization: Bearer <token>
curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/auth/me" \ -H "Authorization: Bearer <token>"Ответ 200
Заголовок раздела «Ответ 200»{ "email": "agent@entherium.dev", "full_name": "Partner agent", "guid": 5, "is_active": true, "is_superuser": false, "is_team": false, "last_login": "2026-09-03T08:12:41Z"}Возвращает
Заголовок раздела «Возвращает»MeResponse — Successful Response
| Поле | Тип | Описание |
|---|---|---|
email | string | |
full_name | string | null | |
guid | integer | |
is_active | boolean | |
is_superuser | boolean | |
is_team | boolean (opt.) | |
last_login | string | null |
Параметры
Заголовок раздела «Параметры»Нет.
| Код | Смысл | Тело |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
Тело любой ошибки — {detail, code?, request_id, doc_url}: request_id — что цитировать, doc_url ведёт в Справочник ошибок.