get_user_count

POST {{pgbc_server}}/cgi-bin/pgbc_api/get_user_count?username={{block_user}}&password={{block_user_password}}

This endpoint makes an HTTP POST request to retrieve the count of users. The request includes the username and password as query parameters. Upon successful execution, the response is a JSON object representing the user count. Below is the JSON schema for the response:

{
  "type": "number"
}

Request Params

KeyDatatypeRequiredDescription
usernamestringThe block user name (note this is different to the instance name)
passwordstringThe block user password (note this is different to the instance password)

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringGet the api token using getApiKey

RESPONSES

status: OK

5