SessionService

Create a new JWT for authentication and set a cookie if using HTTP

POST
https://argocd.example.com/api/v1/session

Body

application/json

SessionCreateRequest is for logging in.

passwordstring
tokenstring
usernamestring

Response

A successful response.

Response fields application/json

SessionResponse wraps the created token or returns an empty string if deleted.

tokenstring

An unexpected error response.

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