cURL
curl --request PATCH \ --url https://api.raffcomputing.com/api/v1/vms/{id}/rename \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --header 'X-Project-ID: <x-project-id>' \ --data ' { "name": "<string>" } '
{ "success": true, "message": "Operation completed successfully" }
Rename a virtual machine.
API key for authentication. Each key is bound to a specific account.
Project ID. Required for all mutating operations (create, delete, power actions, resize).
VM ID (UUID)
New name for the virtual machine
VM renamed
true
"Operation completed successfully"