cURL
curl --request POST \ --url https://controller.platform.simplecloud.app/v0/server-groups/stop-all \ --header 'Content-Type: application/json' \ --header 'X-Network-ID: <x-network-id>' \ --header 'X-Network-Secret: <x-network-secret>' \ --data '{}'
{ "message": "Stop command sent to all servers", "server_group_id": "123e4567-e89b-12d3-a456-426614174000", "servers_stopped": 5 }
Force stop all servers in a server group, ignoring minimum count
Network ID
Network Secret
Server Group ID
The body is of type object.
object
OK
Response for stopping all servers in a server group
"Stop command sent to all servers"
"123e4567-e89b-12d3-a456-426614174000"
5
Was this page helpful?