api.accounts.base
— API login & logout¶
/accounts/login¶
Note
Instead of logging into the API, you can use the ES-API-KEY
HTTP header or -api-key
es parameter to perform an authenticated API request.
Warning
es stores the session token in a plain text file (by default: /tmp/esdc.session
)
Note
The API session token expires after 1 hour after successful login.