     return callback {message: "Request is not valid"}
 
   url = "/trollmode/#{data.accountId}"
-  deleteReq url, callback
+  deleteReq url, data, callback
 
 getSiteMap = (data, callback)->
   url = data.name

post = (url, data, callback)->
  getNextApiURL (err, apiurl)->
    return callback err if err
    request
      url    : "#{apiurl}#{url}"
      json   : true
      body   : data
      method : 'POST'
    , wrapCallback callback

deleteReq = (url, callback)->
  getNextApiURL (err, apiurl)->
    return callback err if err

    request
      url    : "#{apiurl}#{url}"
      json   : true
      method : 'DELETE'
    , wrapCallback callback

getXml = (url, data, callback)->
  getNextApiURL (err, apiurl)->
    return callback err if err
    request
      url    : "#{apiurl}#{url}"
      method : 'GET'
    , wrapCallback callback

get = (url, data, callback)->
  getNextApiURL (err, apiurl)->
    return callback err if err
    request
      url    : "#{apiurl}#{url}"
      qs     : data
      json   : true
      method : 'GET'
    , wrapCallback callback

module.exports = {
  unmarkAsTroll

  unless data.id
    return callback { message: "Request is not valid for deleting message"}
  url =  "/message/#{data.id}"
  deleteReq url, data, callback

likeMessage = (data, callback)->
  unless data.id
