deleteOrgsID method

Future<void> deleteOrgsID(
  1. String orgID, {
  2. String? zapTraceSpan,
})

Delete an organization

Parameters:

  • String orgID (required): The ID of the organization to delete.

  • String zapTraceSpan: OpenTracing span context

Implementation

Future<void> deleteOrgsID(String orgID, {String? zapTraceSpan}) async {
  final response =
      await deleteOrgsIDWithHttpInfo(orgID, zapTraceSpan: zapTraceSpan);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}