delete method
Implementation
Future<Map<String, dynamic>> delete(String path) async {
final response = await client.delete(
Uri.parse("https://$host:$port/$identity/api$path"),
headers: _headers);
if (response.statusCode >= 400) throw Exception(response.body);
return jsonDecode(response.body);
}