Return start_background_pkgacct session state

This function returns the state of a start_background_pkgacct session.

SecurityBasicAuth
Request
query Parameters
session_id
required
string

The start_background_pkgacct session ID.

Example: session_id=username20200323154328kDJ2Kx4xua2KtG
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/get_pkgacct_session_state
Request samples
whmapi1 --output=jsonpretty \
  get_pkgacct_session_state \
  session_id='username20200323154328kDJ2Kx4xua2KtG'
Response samples
application/json
{
  • "data": {
    • "state": "COMPLETED"
    },
  • "metadata": {
    • "command": "get_pkgacct_session_state",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}