Skip to main content
PUT
/
campaigns
/
{campaignId}
curl -X PUT "https://api.linkedcamp.com/campaigns/60f7a1b2c3d4e5f6a7b8c9d0?status=PAUSED" \
  -H "token: YOUR_API_TOKEN"
{
  "success": true,
  "message": "Campaign PAUSED successfully!"
}

Headers

token
string
required
Your LinkedCamp API token.

Path Parameters

campaignId
string
required
The ID of the campaign to update.

Query Parameters

status
string
required
The new status to set for the campaign.Available values: ACTIVE, PAUSED, COMPLETED, FAILED, ARCHIVED

Response

success
boolean
Whether the request was successful.
message
string
A human-readable result message.
curl -X PUT "https://api.linkedcamp.com/campaigns/60f7a1b2c3d4e5f6a7b8c9d0?status=PAUSED" \
  -H "token: YOUR_API_TOKEN"
{
  "success": true,
  "message": "Campaign PAUSED successfully!"
}