sdkDeterministic
Retire gtm asset
pipeline.retireGtmAsset
Retire one GTM asset from new selection while preserving historical bindings. Requires explicit confirmation.
Parameters
workspaceIdrequired
string
No description.
kindrequired
string
No description.
offer | lead_magnet
idrequired
string
No description.
actionrequired
string
No description.
confirmrequired
boolean
No description.
Example
TypeScripttypescript
await pipeline.retireGtmAsset({"workspaceId": "00000000-0000-4000-8000-000000000000","kind": "offer","id": "00000000-0000-4000-8000-000000000000","action": "retire","confirm": true})
Response
Success response schemajson schema
{"type": "object","properties": {"asset": {"type": "object"}},"required": ["asset"]}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.