CloudBlast API's
  • Welcome
  • How to get the API Key
  • 🌐API ENDPOINTS
    • /create-server
    • /send-action-server
    • /delete-server
    • /reinstall-server
    • /add-extra-ip
    • /remove-extra-ip
    • /servers/details
    • /servers/all
  • 🆔ID LISTS
    • Plans List
    • Locations List
    • OS List
Powered by GitBook
On this page
  1. API ENDPOINTS

/send-action-server

Previous/create-serverNext/delete-server

Last updated 9 months ago

Execute a server action

POST

This endpoint allows clients to send commands to a server to perform actions such as starting, stopping, or rebooting the server.

Body

Name
Type
Description

authKey

string

Your API key

server_id

int

ID of your server

action

string

start/reboot/reset/shutdown/kill/suspend

Response

{
  "result": true,
  "message": "Server start action initiated successfully."
}
{
  "result": false,
  "error": "Failed to initiate server start action."
}
🌐
https://console.cloudblast.io/api/public/send-action-server