Skip to main content

Update Campaign

PATCH/api/v1/campaign/{campaign_id}

Update campaign settings (name, retry config, max concurrency, schedule)

cURL example

curl -X PATCH \
  'http://localhost:8000/api/v1/campaign/{campaign_id}' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{}'

Parameters

NameLocationTypeDescription
campaign_idrequiredpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Request body

application/json
View schema
{
  "$ref": "#/components/schemas/UpdateCampaignRequest"
}

Responses

200Successful Response
application/json
View schema
{
  "$ref": "#/components/schemas/CampaignResponse"
}
404Not found
422Validation Error
application/json
View schema
{
  "$ref": "#/components/schemas/HTTPValidationError"
}