Reference
get_current_account
Read the account state bound to the current session (credentials auth only).
get_current_account
Return information about the account currently bound to the session.
- Type:
17 - Requires initialization: yes
- Requires authorization: yes (credentials-based session)
Request and response example
get_current_account
Return the account bound to the current session (credentials auth only).
Response notes
- If the account requires a valid license/subscription and none exist, the server returns
account_has_no_valid_licenses(203). time_leftis an absolute Unix timestamp (UTC) for when access ends.
Common statuses
| Status | Meaning |
|---|---|
1 | ok |
3 | not_authorized |
203 | account_has_no_valid_licenses |
6 | internal_server_error |