POST
/
v1
/
baremetals
/
{id}
/
actions
execute baremetal server action
curl --request POST \
  --url https://console.gmicloud.com/api/v1/baremetals/{id}/actions \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "start"
}'
{
"result": "container 12345678-1234-2234-3234-xxxxxxxxxxxxxx has been restarted"
}

Path Parameters

id
string<uuid>
required

Body

application/json
type
enum<string>
required
Available options:
start,
stop,
powercycle,
reboot

Response

An action completed successfully

result
string
required