Skip to main content
Update virtual machine metadata and run permission policy

Authorizations

acornops_cp_session
string
cookie
required

Path Parameters

workspaceId
string<uuid>
required
Example:

"4b930d98-add9-4924-ab26-3c16d96ec373"

vmId
string<uuid>
required
Example:

"9254df42-4d9b-4e63-8bb6-93442e7d9a45"

Body

application/json
name
string
Example:

"payments-vm-01"

hostname
string
Example:

"payments-vm-01.internal"

allowedLogSources
string[]
Example:
permissionModeOverride
enum<string> | null

VM-specific assistant run policy. Null restores the deployment default.

Available options:
read_only,
ask_before_changes,
auto_allowed_changes,
null

Response

VM metadata and effective permission policy updated.

id
string<uuid>
required
workspaceId
string<uuid>
required
targetType
enum<string>
required
Available options:
kubernetes,
virtual_machine
name
string
required
agentAccessMode
enum<string>
required
Available options:
read_only,
read_write
restartServices
string[]
required
pendingAgentAccessPolicy
object | null
required
permissionMode
enum<string>
required
Available options:
read_only,
ask_before_changes,
auto_allowed_changes
permissionModeOverride
enum<string> | null
required
Available options:
read_only,
ask_before_changes,
auto_allowed_changes,
null
permissionModeSource
enum<string>
required
Available options:
virtual_machine_override,
deployment_default
status
string
connectionStatus
string
latestSnapshot
object
summary
object
permissions
object
hostname
string
osFamily
enum<string>
Available options:
linux
serviceManager
enum<string>
Available options:
systemd
allowedLogSources
string[]