Endpoints
- Test API
- Group API
- Package API
- Country API
- Customer API
- Invoice API
- VPN API
VPN API
Deploy Server API
POST
/
vpn
/
servers
/
deploy
Copy
curl --request POST \
--url https://vpn.bserv.dev/api/v1/vpn/servers/deploy \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'token: <api-key>' \
--data id=8 \
--data password_deploy=Password \
--data host=IPAddress \
--data username=root \
--data port=22
Copy
{
"success": true,
"message": "Server: 8 deploy successfully",
"status_deploy": "Dependencies resolved.\nNothing to do.\nComplete!\n"
}
Authorizations
Body
application/x-www-form-urlencoded
Response
200 - application/json
OK
The response is of type object
.
Copy
curl --request POST \
--url https://vpn.bserv.dev/api/v1/vpn/servers/deploy \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'token: <api-key>' \
--data id=8 \
--data password_deploy=Password \
--data host=IPAddress \
--data username=root \
--data port=22
Copy
{
"success": true,
"message": "Server: 8 deploy successfully",
"status_deploy": "Dependencies resolved.\nNothing to do.\nComplete!\n"
}
Assistant
Responses are generated using AI and may contain mistakes.