internal

Delete Preset

Soft-delete a single marketing preset (admin).

Soft, not hard, for the same reason as the customer path: the row is what a piece of collateral's preset_ids resolves against, and a staff delete would orphan those analyses just as thoroughly. deleted_by records the staff user. Only presets that have never been used to analyze a file can be deleted; a used one returns 409 — see backend/helpers/marketing_presets.py for why, and for what that measurement does not cover. company_id is a match-guard on the lookup (a stale id can't resolve to another company's preset); it is not an access boundary, which is the admin gate above.

delete/internal/marketing-presets/{preset_id}

Request

  • Base URL
    https://api.kobaltlabs.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.kobaltlabs.com/internal/marketing-presets/{preset_id}
  • Auth
    none declared

Path parameters

preset_idstring uuid required

Query parameters

company_idstring uuid required

Response

Successful Response

Changes

No recorded changes to this operation across all 8 revisions of this API.