---
title: "update a specific campaign"
method: PATCH
path: "/api/v1/campaign_templates/{id}"
tags: ["Campaign Templates"]
---

# update a specific campaign

`PATCH /api/v1/campaign_templates/{id}`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/campaign_templates/{id}`
- Auth: `Bearer` (a scheme the document does not define)

## Request body

- object
  - `campaign_template` object
    - `name` string
    - `subject` string
    - `content` string

## Response `200`

updated

- object
  - `status` string
  - `message` string
  - `data` object
    - `id` integer
    - `name` string
    - `subject` string
    - `body` string
    - `is_stock_template` boolean
    - `tags` string
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `422`: Error!

---

[API](https://skmtc.dev/aeroleads/apis/api-v1.md) · [All operations](https://skmtc.dev/aeroleads/apis/api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/aeroleads/apis/api-v1/revisions/f903ee7ec7fa?raw)
