Maszyny wirtualne

Update VM notes (async)

POST
/cloud/project/{project_uuid}/vm/{vmid}/notes/

Starts a cluster task that sets VM notes. Prefer PUT unless you need the task id.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

project_uuid*string

Project UUID.

vmid*integer

VM identifier (VMID).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

VM notes (not the hostname).

Response Body

application/json

curl -X POST "https://example.com/cloud/project/string/vm/0/notes/" \  -H "Content-Type: application/json" \  -d '{}'
{  "task_id": "string",  "message": "string"}