deleteAuthorizationsID method

Future<void> deleteAuthorizationsID(
  1. String authID, {
  2. String? zapTraceSpan,
})

Delete an authorization

Parameters:

  • String authID (required): The ID of the authorization to delete.

  • String zapTraceSpan: OpenTracing span context

Implementation

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