deleteV1PageReactWithHttpInfo method
Performs an HTTP 'DELETE /page-reacts/v1/likes/{tenantId}' operation and returns the Response.
Parameters:
Implementation
Future<Response> deleteV1PageReactWithHttpInfo(String tenantId, String urlId) async {
// ignore: prefer_const_declarations
final path = r'/page-reacts/v1/likes/{tenantId}'
.replaceAll('{tenantId}', tenantId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'urlId', urlId));
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}