deleteVariablesID method

Future<void> deleteVariablesID(
  1. String variableID, {
  2. String? zapTraceSpan,
})

Delete a variable

Parameters:

  • String variableID (required): The variable ID.

  • String zapTraceSpan: OpenTracing span context

Implementation

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