Strategy / CLI
Delete gtm asset draft
Hard-delete only an unapproved, unbound GTM asset draft. Requires explicit confirmation.
pipeline delete-gtm-asset-draftDeterministic operationParameters
workspaceIdRequired · string- See the input schema for this field.
kindRequired · string- See the input schema for this field.offer · lead_magnet
idRequired · string- See the input schema for this field.
confirmRequired · boolean- See the input schema for this field.
pipeline delete-gtm-asset-draft \
--workspace-id "00000000-0000-4000-8000-000000000000" \
--kind "offer" \
--id "00000000-0000-4000-8000-000000000000" \
--confirmFull input schema
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"offer",
"lead_magnet"
]
},
"id": {
"type": "string"
},
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"workspaceId",
"kind",
"id",
"confirm"
],
"additionalProperties": false
}