title: Delete recipient with Rest API in Java
body: <p>I am trying to delete a specific recipient from an envelope. I wrote a little Java program and tried various DELETE requests, but I always get an error back:</p>
  
  <pre><code>&lt;errorCode&gt;INVALID_REQUEST_BODY&lt;/errorCode&gt;
    &lt;message&gt;The request body is missing or improperly formatted. &lt;signers xmlns=''&gt; was not expected.&lt;/message&gt;
  </code></pre>
  
  <p>I tried with this request:   </p>
  
  <pre><code>baseURL + "/envelopes/" + envelopeId + "/recipients/"+recipientId;
  and no body
  </code></pre>
  
  <p>as well as:</p>
  
  <pre><code>baseURL + "/envelopes/" + envelopeId + "/recipients/"
  with body="&lt;recipients xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.docusign.com/restapi\"&gt;&lt;agents&gt;&lt;agent&gt;&lt;recipientId&gt;"+recipientId+"&lt;/recipientId&gt;&lt;/agent&gt;&lt;/agents&gt;&lt;/recipients&gt;";
  </code></pre>
  
  <p>Both without success.</p>