modify_user
POST {{pgbc_server}}/cgi-bin/pgbc_api/add_user?username={{block_user}}&password={{block_user_password}}&newuser={{$randomFirstName}}&newuserpassword=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
Key | Datatype | Required | Description |
---|---|---|---|
username | string | The block user name (note this is different to the instance name) | |
password | string | The block user password (note this is different to the instance password) | |
newuser | string | Random first name | |
newuserpassword | string | password as password (for testing) |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | Get the api token using getApiKey |
RESPONSES
status: OK
5