---
title: "PUT /operations/campaign/{campaignId}"
method: PUT
path: "/operations/campaign/{campaignId}"
tags: ["Operations/Campaign"]
---

# PUT /operations/campaign/{campaignId}

`PUT /operations/campaign/{campaignId}`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/operations/campaign/{campaignId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/operations/campaign/:campaignId/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `campaignId` integer, required

## Request body

- object
  - `adminId` integer, nullable
  - `name` string, required
  - `status` 'ACCESS_PENDING_REQUEST' | 'ACCESS_PENDING_GRANT' | 'ACTIVE' | 'PAUSED', required
  - `analyzing` boolean, required

## Response `204`

Successful

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden
- `422`: Validation Error

---

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