Brekeke UC Wiki

stop

(Available in Brekeke UC version 1.7.3.1 and later)

Stops Brekeke UC.
To perform this operation, you must specify the allowed IP addresses using regular expressions. If you want to use a password, set the password in Advanced Options. Changes to Advanced Options take effect immediately. If you do not want to use a password, there is no need to set one in Advanced Options.

 

Advanced Options Properties:
webif.v1p.db.hosts.allow=<IP address>
webif.v1p.db.password=<password>

 

Operation:
v1p/db/stop

 

Operation parameters:
No Parameters Note
1 password Operation execution password (if required)

 

Response Code:
Response Code Note
200 OK. Brekeke UC stop success
400 Bad Request. Parameter error or password mismatch
403 Forbidden. No access (IP restrictions, etc.)
503 Service Unavailable. Unable to run for some reason (during startup, etc.)

 

Example 1: No password
curl -X POST "https://<uc-url>/webif/v1p/db/stop"

 

Example 2: With a password
curl -X POST --header "Content-Type: application/json" --data "{\"password\":\"123abc@%&\"}" "https://<uc-url>/webif/v1p/db/stop"
Yes No
Suggest Edit