Skip to main content

Pause Campaign

POST/api/v1/campaign/{campaign_id}/pause

Pause campaign execution

cURL example

curl -X POST \
  'http://localhost:8000/api/v1/campaign/{campaign_id}/pause' \
  -H 'Authorization: Bearer <API_KEY>'

Parameters

NameLocationTypeDescription
campaign_idrequiredpathinteger
authorizationheaderobject
X-API-Keyheaderobject

Responses

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