clearRecords method

Future<XRPCResponse<EmptyData>> clearRecords({
  1. required String space,
  2. required String repo,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Delete all records in the authenticated account's space repo. In the space authority's repo, records published from the space's configuration (such as its policy) are kept. Requires auth, implemented by PDS.

Implementation

Future<XRPCResponse<EmptyData>> clearRecords({
  required String space,
  required String repo,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoSpaceClearRecords(
  space: space,
  repo: repo,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);