POST /dashboard/service/{id}/dedicated/virtual-media

Attach virtual media

Attaches an ISO file as virtual media and boots the server from it. The server must be powered off.

Parameters

NameTypeInDescription
id*
integerpathThe service ID of the dedicated server

Request Body

idstringRequired

The filename of the ISO to attach

Response

200
400
403
404
successboolean

Request

curl -X POST "https://api.royalehosting.net/dashboard/service/{id}/dedicated/virtual-media" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-organization-id: YOUR_ORG_ID" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

{
  "success": true
}