Skip to main content

Delete campaign

Description

Deletes a campaign.

Request URL

Method: POST

https://example.com/api/v1.1/campaigns/delete

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format.
By default – json
idint1YesCampaign ID

Request example

{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 1
}

Response example

{
"data": null,
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text