Route:
Method | Path |
POST |
/api/bucket/:id/data/deleteServer |
Delete server
Authentication
A authentication is needed to access this endpoint
Body Parameters:
Name |
Type |
Description |
server_name |
String |
the name of server |
Header Parameters:
Name |
Type |
Description |
Authorization |
String |
bearer access token issued for the user |
Route Parameters:
Name |
Type |
Description |
:id |
String |
bucket id |
Response:
Name |
Type |
Description |
success |
Boolean |
can be true or false |
msg |
String |
response |
Response Code:
Type |
Description |
500 |
database error |
406 |
require an action before delete |
400 |
missing or invalid parameters |
200 |
successfully deleted |