deleteCallWithHttpInfo method
Future<Response>
deleteCallWithHttpInfo(
- String type,
- String id,
- DeleteCallRequest deleteCallRequest
Delete Call
Sends events: - call.deleted Required permissions: - DeleteCall
Note: This method returns the HTTP Response
.
Parameters:
-
String type (required):
-
String id (required):
-
DeleteCallRequest deleteCallRequest (required):
Implementation
Future<Response> deleteCallWithHttpInfo(
String type,
String id,
DeleteCallRequest deleteCallRequest,
) async {
// ignore: prefer_const_declarations
final path = r'/video/call/{type}/{id}/delete'
.replaceAll('{type}', type)
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = deleteCallRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}