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'}}
});
0 Comments