---
title: "DELETE /api/marketing/campaigns/{id}"
method: DELETE
path: "/api/marketing/campaigns/{id}"
tags: ["api", "marketing"]
---

# DELETE /api/marketing/campaigns/{id}

`DELETE /api/marketing/campaigns/{id}`

Delete a Marketing Campaign

## Path parameters

- `id` union, required
  - string
  - string

## Response `200`

OK

- CampaignResource
  - `_id` string, required — The ID of the marketing campaign
  - `name` string, required — The name of the marketing campaign
  - `code` string, required — The code of the marketing campaign
  - `createdBy` object, required — The entity that created this marketing campaign
    - `type` 'USER' | 'APP' | 'API_KEY' | 'SYSTEM', required — The type of the entity
    - `id` string, required — The ID of the entity
  - `sellerId` string, required — The ID of the seller owning the marketing campaign
  - `isArchived` boolean, required — Whether the marketing campaign is archived or not.
  - `createdAt` string, date-time, required — An ISO timestamp indicating when the marketing campaign was created.
  - `updatedAt` string, date-time, required — An ISO timestamp indicating when the marketing campaign was updated.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
