Skip to content

RetractOp

Builder retract operation.

readonly operation: "retract"

Operation discriminator. Always retract.


readonly name: string

Target wref or local name to retract.


readonly optional kind?: "shape" | "thing" | "assertion" | "collection"

Optional kind safety hint: thing, assertion, shape, or collection.


readonly optional reason?: string

Optional human-readable retraction reason.


readonly optional leaseId?: string

Optional read-lease token (#3625) returned by thing.getWithLease. When it matches the target’s active lease the lease auto-releases on commit; a mismatch (or absence against a live lease) is rejected with LEASE_UNAVAILABLE.