Kaspersky Next XDR Expert
Contents
Contents
Viewing token bearer information
GET /xdr/api/v1/kuma/users/whoami
Response
The response returns the superior role of all the roles assigned to the user.
HTTP code: 200
Format: JSON
type Response struct {
ID string `json:"id"`
Name string `json:"name"`
Login string `json:"login"`
Email string `json:"email"`
Tenants []TenantAccess `json:"tenants"`
}
type TenantAccess struct {
ID string `json:"id"`
Name string `json:"name"`
Role string `json:"role"`
}
|