v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0172165343.2 KB
Admin

Auth Token Whoami

Return the role of the currently authenticated token

post/api/v1.admin.auth-token.whoami

Request body

AdminAuthTokenWhoamiIn required

Response

rolestring required

Example response

{
  "role": "some_role_id"
}