//-- Intent: Pauses an active alerting campaign with jobcode of 123456 --//

$.ajax({
  type: "PUT",
  contentType: "application/json; charset=utf-8",
  headers: {"SwiftAPI-Key": "12345"},
  url: "http://api.v4.swiftreach.com/api/Alerts/Pause/123456",
  dataType: "json"
  success: function(result) {
        // Do something with the result
    }

});

<!-- example return value -->
<int>0</int>