Path parameters

  • id integer Required

    VPS ID number

Body Required

  • url string

Body Required

  • url string

Responses

  • 200 application/json

    Response message from sending a service queue.

    Hide response attributes Show response attributes object
    • text string Required

      Response text

    • queueId integer(int32) Required

      The Queue ID attached to the action.

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
POST /vps/{id}/insert_cd
curl \
 --request POST 'https://my.interserver.net/apiv2/vps/{id}/insert_cd' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"url":"https://templates.is.cc/systemrescuecd/systemrescue-7.01-amd64.iso"}'
curl \
 --request POST 'https://my.interserver.net/apiv2/vps/{id}/insert_cd' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: multipart/form-data" \
 --form "url=https://templates.is.cc/systemrescuecd/systemrescue-7.01-amd64.iso"
Request examples
{
  "url": "https://templates.is.cc/systemrescuecd/systemrescue-7.01-amd64.iso"
}
Response examples (200)
{
  "text": "Action has been sent to the server. Please allow up to 2 minutes for action to be completed.",
  "queueId": 14670065
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}