dataListsTeardownPostWithHttpInfo method
Opt out from using reading lists.
Deletes all data. User needs to opt in again before being able to do anything. Request must be authenticated with a MediaWiki session cookie. Stability: unstable
Note: This method returns the HTTP Response
.
Parameters:
- String csrfToken (required): The CRSF edit token provided by the MediaWiki API
Implementation
Future<Response> dataListsTeardownPostWithHttpInfo(
String csrfToken,
) async {
// ignore: prefer_const_declarations
final path = r'/data/lists/teardown';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'csrf_token', csrfToken));
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}