---
title: "Delete Campaign"
method: DELETE
path: "/v1/campaigns/{campaignId}"
tags: ["Campaigns"]
---

# Delete Campaign

`DELETE /v1/campaigns/{campaignId}`

Deletes a campaign and all related vouchers. This action cannot be undone. Also, this method immediately removes any redemptions on the voucher.

If the `force` parameter is set to `false` or not set at all, the campaign and all related vouchers will be moved to [the bin](/api-reference/bin/list-bin-entries).

This API request starts a process that affects Voucherify data in bulk. 

In case of small jobs (like bulk update) the request is put into a queue and processed once every other bulk request placed in the queue prior to this request is finished. However, when the job takes a longer time (like vouchers generation) then it is processed in small portions in a round-robin fashion. When there is a list of vouchers generation scheduled, then they will all have the `IN_PROGRESS` status shortly. This way, small jobs added just after scheduling big jobs of the same type will be processed in a short time window. 

The result will return the async ID. You can verify the status of your request via this [API request](/api-reference/async-actions/get-async-action).

## Query parameters

- `force` boolean

## Response `202`

Returns the ID of the scheduled asynchronous action, informing you that your request has been accepted and the campaign will be deleted from the repository asynchronously. To check the deletion status and result, copy the `async_action_id` from the response and pass it using [Get Async Action](/api-reference/async-actions/get-async-action) endpoint.

- CampaignsDeleteResponseBody — Response body schema for **DELETE** `/campaigns/{campaignId}`.
  - `async_action_id` string — The ID of the scheduled asynchronous action.

## Other responses

- `403` — Returns an error if the restricted user is missing the access to an area or a store to which the campaign with this ID has been assigned.
- `404` — Returns an error indicating that the campaign with given ID was not found.

---

[API](https://skmtc.net/voucherifyio/apis/voucherify-api-async-actions.md) · [All operations](https://skmtc.net/voucherifyio/apis/voucherify-api-async-actions/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voucherifyio/voucherify-api-async-actions/revisions/4982266e0494/schema)
