toolsOzoneSetDeleteSet function

Future<XRPCResponse<EmptyData>> toolsOzoneSetDeleteSet({
  1. required String name,
  2. required ServiceContext $ctx,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Delete an entire set. Attempting to delete a set that does not exist will result in an error.

Implementation

Future<XRPCResponse<EmptyData>> toolsOzoneSetDeleteSet({
  required String name,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.toolsOzoneSetDeleteSet,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'name': name},
);