AccountService

CreateToken creates a token

POST
https://argocd.example.com/api/v1/account/{name}/token

Body

application/json
expiresIninteger<int64>
idstring
namestring

Parameters

namestringrequiredpath

Response

A successful response.

Response fields application/json
tokenstring

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.