How to delete a campaign (group) api

Deleting a campaign will not remove it form system, will just mark it as deleted.

 

$.ajax({

   type: "DELETE",

   url: 'http://apiv2.clickmeter.com/groups/123',

   dataType: 'json',

   headers: { "X-Clickmeter-AuthKey": 'API-KEY' }

})

.successs(function (data) {

   // data: { id: 123, uri: '/groups/123' }

})

.error(function (jqXhr, textStatus, errorThrown) {

   //jqXhr.responseText - { errors: {errorMessage: 'some message', errorValue: 'property name'}}

});

Have more questions? Submit a request

0 Comments

Article is closed for comments.