Kaspersky Unified Monitoring and Analysis Platform

View token bearer information

April 8, 2024

ID 269936

GET /api/v2/users/whoami

Response

HTTP code: 200

Format: JSON

type Tenant struct {

ID string `json:"id"`

Name string `json:"name"`

}

type Role struct {

ID string `json:"id"`

Name string `json:"name"`

Tenants []Tenant `json:"tenants"`

}

type Response struct {

ID string `json:"id"`

Name string `json:"name"`

Login string `json:"login"`

Email string `json:"email"`

Roles []Role `json:"roles"`

}

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.