Update Instance
API Version: 1.1.0 (06-Jan-2025)
Update VPS configuration
Authorizations
Path parameters
vm_idstring · uuidRequired
VPS UUID that need to be considered for filter
Body
team_idstring · uuidOptionalExample:
Team ID that need to be considered for filter. Default team will be used if not provided.
96616865-475e-4191-aba5-f89f0a4b71fe
os_idinteger · int64OptionalExample:
OS Template to reinstall
2
enable_ipv6boolean · booleanOptionalExample:
Enable or disable IPv6
false
hostnamestring · stringOptionalExample:
Change service name
new-service-name
Responses
202
Successful operation
400
Bad request
401
Unauthorized
404
Not found
patch
PATCH /vm/{vm_id} HTTP/1.1
Host: api.cloud.onidel.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 110
{
"team_id": "96616865-475e-4191-aba5-f89f0a4b71fe",
"os_id": 2,
"enable_ipv6": false,
"hostname": "new-service-name"
}
No content
Last updated