riskDisposeLabelsWithHttpInfo method
Dispose of this tenant's expired assertions, whole records only
Applies this tenant's retention, and only this tenant's. It is bounded three ways, each a compliance property rather than a convenience. It refuses a boundary younger than the platform floor, because a label can be the input to an adverse action and five years is what the retention ledger holds such a record for. It never touches a record under litigation hold. And it disposes of whole records rather than redacting fields. It removes the derived columnar copy BEFORE the record, and refuses the whole disposal if the warehouse cannot be reached. The other order would leave rows in the warehouse that nothing can identify any more, which is a disposal that did not happen and says it did.
Note: This method returns the HTTP Response.
Parameters:
- RiskDisposeIn riskDisposeIn (required):
Implementation
Future<Response> riskDisposeLabelsWithHttpInfo(RiskDisposeIn riskDisposeIn,) async {
// ignore: prefer_const_declarations
final path = r'/v1/label/dispose';
// ignore: prefer_final_locals
Object? postBody = riskDisposeIn;
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,
);
}