Delete Directory

$.ajax({
  type: 'DELETE',
  url: '/api/foo'
});
Language
Click Try It! to start a request and see the response here!