# Update Campaign Status

Updates the status of a campaign. Use this to pause, resume, complete, or cancel a campaign.

## Status Transitions

* `ACTIVE` --> `PAUSED`, `COMPLETED`, `CANCELLED`
* `PAUSED` --> `ACTIVE`, `COMPLETED`, `CANCELLED`
* `COMPLETED` --> (terminal - no further transitions)
* `CANCELLED` --> (terminal - no further transitions)

**PATCH** `/campaigns/{campaign_id}`

Base URL: `https://api-sandbox.whitelabel.com/v1`

## Authorization

- public-api-key (apiKey in header)
- private-secret-key (apiKey in header)

## Path parameters

- `campaign_id` (string, required)
  The campaign identifier (UUID).

## Body

Content type: `application/json`

- `status` ("ACTIVE" | "PAUSED" | "COMPLETED" | "CANCELLED", required)
  New status for the campaign.

Example:

```json
{
  "status": "ACTIVE"
}
```

## Responses

### 200

- `data` (object)
  - `id` (string)
  - `name` (string)
  - `status` (string)
  - `updated_at` (string)

Example:

```json
{
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Declined Payment Recovery - Colombia",
    "status": "PAUSED",
    "updated_at": "2025-07-15T10:00:00Z"
  }
}
```