deleteHashTagWithHttpInfo method
Future<Response>
deleteHashTagWithHttpInfo(
- String tenantId,
- String tag,
- DeleteHashTagRequestBody deleteHashTagRequestBody
Performs an HTTP 'DELETE /api/v1/hash-tags/{tag}' operation and returns the Response.
Parameters:
-
String tenantId (required):
-
String tag (required):
-
DeleteHashTagRequestBody deleteHashTagRequestBody:
Implementation
Future<Response> deleteHashTagWithHttpInfo(String tenantId, String tag, DeleteHashTagRequestBody deleteHashTagRequestBody) async {
// ignore: prefer_const_declarations
final path = r'/api/v1/hash-tags/{tag}'
.replaceAll('{tag}', tag);
// ignore: prefer_final_locals
Object? postBody = deleteHashTagRequestBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'tenantId', tenantId));
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}