# Update Rule Status

Updates a rule's status to `ACTIVE` or `INACTIVE`, without deleting it.

**PATCH** `/campaigns/{campaign_id}/rules/{rule_id}/status`

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).
- `rule_id` (string, required)
  The rule identifier (UUID).

## Body

Content type: `application/json`

- `status` (string, required)
  `ACTIVE` or `INACTIVE`

Example:

```json
{
  "status": "string"
}
```

## Responses

### 200

- `status` (string)

Example:

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