title: How to delete a DNS record using Softlayer API with Powershell
body: <p>I need to write a PowerShell script, which deletes DNS record from Softlayer cloud, using Softlayer REST API. </p>
  
  <p>The below command should do my purpose. I have <code>$headers</code> correctly setup. My issue is with <code>$uri</code> and <code>$jsonObject</code>.</p>
  
  <pre><code>Invoke-WebRequest -Uri $uri -Headers $headers -Method POST -ContentType application/json -Body $jsonObject 
  </code></pre>
  
  <p>can anybody please give me an example of values for <code>$jsonObject</code> and <code>$uri</code>? 
  Should <code>$uri</code> be like below? If yes, what is the <code>Object.json</code> , do I need to define it?</p>
  
  <pre><code>$uri = "https://api.service.softlayer.com/rest/v3.1/SoftLayer_Dns_Domain_ResourceRecord/deleteObject/Object.json"
  </code></pre>