text: module.exports = {
  
      name: "Cancel a downtime",
  
      title: "Cancel a downtime",
  
      version: "v1",
  
      description: ``,
      
      mock_input: 
  		{},
  	
  
      input: 
          { title: "Input", type: "object",properties: {"downtime_id": { "title":"downtime_id","type": "integer","minLength" : 1},} },
              
  
      output: {
          title: "output",
          type: "object",
              properties: {
                  "title": "Output",
                  "type": "object",
                  "properties": {
                          
              }
          }
      },
  
      execute: function(input, output) {
          var global_constants = require("../../common/constants");
          var api_domain = "api";
          var request = require("request");
          var option = {
              "method": "DELETE",
              "headers": global_constants.generate_common_header(input),
              "url": global_constants.get_uri(input.auth.site,api_domain)+`/api/v1/downtime/${input.downtime_id}`,
  			"qs":{   }
          }
          request(option, function(error, response, body) {
              if (error) {
                  output(error);
              }
              if (response.statusCode === 204) {
                  output(null, body);
              }
              else {
                  if(body) {
                      output(body,null)
                  }
                  else {
                      output(`{"status": false,"statusMessage": ${response.statusMessage}}`,null)
                  }
              }
          });
      }
  }