deleteVariablesIDLabelsID method

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

Delete a label from a variable

Parameters:

  • String variableID (required): The variable ID.

  • String labelID (required): The label ID to delete.

  • String zapTraceSpan: OpenTracing span context

Implementation

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