payware_campaigns_delete_campaign
Deletes a campaign by ID and detaches its placements, leaving them active and working independently.
Instructions
[Merchant] Delete a campaign. Its placements stay, detached from it, and keep working.
Endpoint: DELETE /campaigns/{campaignId} (PRM plan)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaignId": "<campaignId>"
},
"name": "payware_campaigns_delete_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes | The campaign's ID: cp + 8 letters or digits, e.g. cp7e4rCToG | |
| useSandbox | No | Use the sandbox (the default) rather than production |