> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getmalakai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a Campaign

> Permanently delete a specific campaign by its ID.

### Headers

<ParamField header="Authorization" type="string" required>
  Your API key for authentication. Prefix with `Bearer `.
</ParamField>

<ParamField header="x-access-token" type="string" required>
  Your access token for authentication.
</ParamField>

### Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the contact you want to delete.
</ParamField>

### Query Parameters

<ParamField query="state" type="string" optional>
  The state of the campaign e.g stopped
</ParamField>

### Response

A successful deletion will return a success status and message.

<ResponseField name="status" type="string">
  Confirms the request was successful.
</ResponseField>

<ResponseField name="message" type="string">
  A message indicating the result of the deletion.
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "responseCode": "2000",
    "message": "Campaign deleted successfully."
  }
  ```
</ResponseExample>
