deleteSipRule method

Future<void> deleteSipRule({
  1. required String sipRuleId,
})

Deletes a SIP rule.

May throw BadRequestException. May throw ConflictException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceFailureException. May throw ServiceUnavailableException. May throw ThrottledClientException. May throw UnauthorizedClientException.

Parameter sipRuleId : The SIP rule ID.

Implementation

Future<void> deleteSipRule({
  required String sipRuleId,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/sip-rules/${Uri.encodeComponent(sipRuleId)}',
    exceptionFnMap: _exceptionFns,
  );
}