title: Cloud foundry API - stop application
body: <p>I Need API to stop the running application, after some search I've found this API</p>
  
  <p><a href="http://apidocs.cloudfoundry.org/263/apps/updating_an_app.html" rel="nofollow noreferrer">http://apidocs.cloudfoundry.org/263/apps/updating_an_app.html</a></p>
  
  <p>if I want to test it with postman how can I obtain token and where should I put it inside postman ?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>i've tried like following with postman</p>
  
  <p><strong>Put</strong> 
  <a href="https://[api]/v2/apps/211c82e2-7316-45b6-9ae6-1df4dzz74772/stop" rel="nofollow noreferrer">https://[api]/v2/apps/211c82e2-7316-45b6-9ae6-1df4dzz74772/stop</a></p>
  
  <p><strong>Header</strong></p>
  
  <pre><code>Authorization : bearer &lt;token&gt;
  "Content-Type":"application/x-www-form-urlencoded"
  </code></pre>
  
  <p>I got error: </p>
  
  <pre><code>{
      "description": "Unknown request",
      "error_code": "CF-NotFound",
      "code": 10000
  }
  </code></pre>
  
  <p>Any idea?</p>