curl --request GET \
--url https://api.example.com/cabinet/auth/me/is-admin \
--header 'Authorization: Bearer <token>'Check if current user is an admin (legacy config or RBAC).
curl --request GET \
--url https://api.example.com/cabinet/auth/me/is-admin \
--header 'Authorization: Bearer <token>'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response