Delete Directorydelete https://example.com/api/dir/{path}JavaScript$.ajax({ type: 'DELETE', url: '/api/foo' });