Viewing token bearer information

May 15, 2024

ID 270072

GET /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"`

}

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.