Upsert VM note
Create or fully replace the personal or account note on a VM.
Behavior
This is an overwrite, not an append — the request content becomes the entire note body.
To append, fetch the existing note via GET /api/v1/vms/{id}/notes first, concatenate, and PUT the combined value.
Scopes
type: personal— one note per user per VM (unique onvm_id + user_id). Visible only to the user that wrote it.type: account— one note per account per VM (unique onvm_id + account_id). Visible to all account members; any member with permission can update it.
Clearing a note
Pass content: "" to set an empty note. The note row is kept (still returned by GET /notes); only the content is empty.
Authorizations
API key for authentication. Each key is bound to a specific account.
Headers
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Path Parameters
VM ID (UUID)
Note scope. personal is visible only to the writer; account is shared across the account.
personal, account Body
Note text. Pass an empty string to clear the note.