All commands · internal

pm item mutate

Apply SDK-backed mutations atomically.

Apply SDK-backed mutations atomically.

Usage

pm item mutate [options]

Options

--transaction-id <value>Stable idempotency key used to resume an interrupted batch; derived from the document when omittedoptional
--stdin-jsonRead the JSON mutation array from stdinoptional
--from <path>Read the JSON, JSON Lines, or envelope document from a file (- for stdin)optional
--upsert-key <field>Update the existing item whose field matches instead of creating a duplicateoptional
--dry-runValidate and preview the batch without writingoptional
--create-compensation <mode>Created-item compensation policy: close or deleteoptional
--lock-ttl-seconds <n>Workspace transaction lock lifetime in secondsoptional
--lock-wait-ms <n>Maximum time to wait for the workspace transaction lockoptional
--author <value>Mutation authoroptional

Examples

pm item mutate --help

Related commands