apiDeterministic
Delete gtm asset draft
DELETE /api/v1/gtm-assets/{kind}/{id}
Hard-delete only an unapproved, unbound GTM asset draft. Requires explicit confirmation.
Parameters
workspaceIdrequired
string
No description.
kindrequired
string
No description.
offer | lead_magnet
idrequired
string
No description.
confirmrequired
boolean
No description.
Example
REST requestbash
curl -X DELETE "https://app.pipeline.help/api/v1/gtm-assets/offer/00000000-0000-4000-8000-000000000000?workspaceId=00000000-0000-4000-8000-000000000000&confirm=true" \-H "Authorization: Bearer $PIPELINE_API_KEY"
Response
Success response schemajson schema
{"type": "object","properties": {"ok": {"type": "boolean"}},"required": ["ok"]}
HTTP errors
- 401
- Missing or invalid API key.
- 403
- Authenticated but not permitted for the workspace or resource.
- 404
- The requested resource was not found.