PATCH
/
vm
/
{vm_id}
Update VM configuration
curl --request PATCH \
  --url https://api.cloud.onidel.com/vm/{vm_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "team_id": "96616865-475e-4191-aba5-f89f0a4b71fe",
  "os_id": 2,
  "enable_ipv6": false,
  "name": "new-service-name"
}'

Authorizations

Authorization
string
header
required

Provide the value as: Token <your-api-token>

Path Parameters

vm_id
string<uuid>
required

Service UUID that need to be considered for filter

Body

application/json
team_id
string<uuid>

Team ID that need to be considered for filter. Default team will be used if not provided.

Example:

"96616865-475e-4191-aba5-f89f0a4b71fe"

os_id
integer

OS Template to reinstall

Example:

2

enable_ipv6
boolean

Enable or disable IPv6

Example:

false

name
string<string>

Change service name

Example:

"new-service-name"

Response

Successful operation