# pool.snapshot.update

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: string

ID of the snapshot to update.

##### Parameter 2: data

#### data

Type: object

The property updates to apply to the snapshot.

No Additional Properties

##

#### User Properties Update

Type: array of object Default: []

Properties to update.

No Additional Items

##### Each item of this array must be:

#### PoolSnapshotUserPropertyUpdate

Type: object
No Additional Properties

##

#### Key

Type: string

ZFS user property key in namespace:property format (e.g., 'custom:backuppolicy', 'org:createdby').

Must match regular expression: `.*:.*`

##

#### Value

Type: string

The new value to assign to the user property.

##

#### User Properties Remove

Type: array of string Default: []

Properties to remove.

No Additional Items

##### Each item of this array must be:

Type: string

ZFS user property key in namespace:property format (e.g., 'custom:backuppolicy', 'org:createdby').

Must match regular expression: `.*:.*`

##

#### PoolSnapshotCreateUpdateEntry

Type: object

Information about the updated snapshot.

No Additional Properties

##

#### Id

Type: string

Full snapshot identifier including dataset and snapshot name.

##

#### Properties

Type: object

Object mapping ZFS property names to their values and metadata.

##

Each additional property must conform to the following schema

#### PoolSnapshotEntryPropertyFields

Type: object
No Additional Properties

##

#### Value

Type: string

Current effective value of the ZFS property as a string.

##

#### Rawvalue

Type: string

Raw string value of the ZFS property as stored.

##

#### Source

Type: enum (of string)

Source of the property value.

- `NONE`: Property is not set
- `DEFAULT`: Using ZFS default value
- `LOCAL`: Set locally on this snapshot
- `TEMPORARY`: Temporary override value
- `INHERITED`: Inherited from parent dataset
- `RECEIVED`: Set by ZFS receive operation

##### Must be one of:

- "NONE"
- "DEFAULT"
- "LOCAL"
- "TEMPORARY"
- "INHERITED"
- "RECEIVED"

##

#### Parsed

Type: object

Property value parsed into the appropriate type (string, boolean, integer, etc.).

##

#### Pool

Type: string

Name of the ZFS pool containing this snapshot.

##

#### Name

Type: string

Full name of the snapshot including dataset path.

##

#### Type

Type: const

Type identifier indicating this is a ZFS snapshot.

Specific value: `"SNAPSHOT"`

##

#### Snapshot Name

Type: string

Just the snapshot name portion without the dataset path.

##

#### Dataset

Type: string

Name of the dataset this snapshot was taken from.

##

#### Createtxg

Type: string

Transaction group ID when the snapshot was created.

Required roles: SNAPSHOT_WRITE