SessionService

Get the current user's info

GET
https://argocd.example.com/api/v1/session/userinfo

Response

A successful response.

Response fields application/json
groupsArray<string>
issstring
loggedInboolean
usernamestring

An unexpected error response.

Response fields application/json
codeinteger<int32>
Show child attributes
type_urlstring
valuestring<byte>
errorstring
messagestring

Authorization

bearerapiKey in header

A token sent as Authorization: Bearer <token>. API Docs shows how to get one.