Skip to content

Set Locked File Legal Hold Node

Data/Files/Locked

Places or lifts a legal hold on a locked version. A held version cannot be deleted even after its retention ends; needs app admin rights and a provider with legal hold support

locked_set_legal_holddata
Inputs4
Outputs2
Security exposure3/10
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
3/10Low
PrivacyPotential sensitivity of processed data.
5/10Medium
PerformanceRuntime or resource pressure.
5/10Medium
GovernancePolicy, audit, or compliance impact.
2/10Low
ReliabilityOperational stability considerations.
3/10Low
CostExternal or compute cost impact.
4/10Medium

Input Pins

4

In

Execution
exec_in

Start the request

Locked File ID

String
item_id

ID of the locked file

Version ID

String
version_id

ID of the version to hold; empty uses the newest locked version

Hold

Boolean
enabled

True places the legal hold, false lifts it

Default true

Output Pins

2

Out

Execution
exec_out

The legal hold was updated

Version

Struct
version

The version with its legal hold state

LockedItemVersionLockedItemVersion23 fields
idstringrequired

Version ID, used to download, extend, hold or purge this exact version.

item_idstringrequired

ID of the locked file this version belongs to.

versioninteger | null

Version number starting at 1, assigned at commit; null while pending.

format uint32min 0
statusLockedVersionStatusrequired

Lifecycle state: pending, locked or purged.

variant 1constvariant

Upload started but not committed yet.

const "pending"
variant 2constvariant

Committed and protected by its retention lock.

const "locked"
variant 3constvariant

Bytes deleted after the retention ended; the record is kept as evidence.

const "purged"
file_namestringrequired

File name the bytes were uploaded as.

content_typestringrequired

MIME type of the stored bytes.

sizeinteger:uint64required

Size of the stored bytes.

format uint64min 0
sha256stringrequired

Lowercase hex SHA-256 of the stored bytes.

checksum_verifiedbooleanrequired

Whether the storage provider or the server confirmed the SHA-256 of the stored bytes.

provider_version_idstring | null

Storage provider's version identifier (S3 VersionId, GCS generation or Azure version ID).

retention_modeLockedRetentionModerequired

Retention mode: governance or compliance.

variant 1constvariant

Privileged storage administrators could lift the lock.

const "governance"
variant 2constvariant

Nobody, including the storage account owner, can lift the lock before it ends.

const "compliance"
retain_untilstringrequired

Date until which the object cannot be modified or deleted (RFC 3339).

enforcementLockedEnforcementrequired

Whether the lock is set on the object or by a bucket-wide policy.

variant 1constvariant

A retention lock set on the stored object version itself.

const "object"
variant 2constvariant

A retention policy of the whole bucket or container.

const "bucket"
legal_holdbooleanrequired

Whether a legal hold blocks deletion regardless of the retention date.

delete_after_retentionboolean

Whether the server deletes the bytes automatically once the retention ends and no legal hold remains.

default false
commentstring | null

Comment given at upload.

metadataobject | null

Metadata given at upload.

uploaded_bystringrequired

User ID of the uploader.

+5 more fields

Node Info

Internal name
locked_set_legal_hold
Category
Data/Files/Locked
Version
2