Definition
The deleteCampaign API Command deletes a campaign. This command doesn’t require a confirmation.
Cost
Using this command consumes 1 credit.
Module
The command is included in the Campaign API Module and will only consume credits assigned for Campaign API Operations.
Parameters
campaignId | The ID number of the campaign you wish to add competitors to. |
Input URL Example
http://api.cognitiveseo.com/command.php?apiKey=your_api_key&command=deleteCampaign&campaignId=8
Output Example
Running this command will result in the following JSON output:
1 2 3 4 5 6 7 8 |
{ "api": "cognitiveSEO API", "data": { "status": "success", "credits": 1 }, "time": 0.138 } |
Output Details
status | The status of the command (success or error). |
credits | The credit cost of the command. |
time | The time it took to process the command. |