deleteCrl method

Future<CrlDetailResponse> deleteCrl({
  1. required String crlId,
})

Deletes a certificate revocation list (CRL).

Required permissions: rolesanywhere:DeleteCrl.

May throw AccessDeniedException. May throw ResourceNotFoundException.

Parameter crlId : The unique identifier of the certificate revocation list (CRL).

Implementation

Future<CrlDetailResponse> deleteCrl({
  required String crlId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/crl/${Uri.encodeComponent(crlId)}',
    exceptionFnMap: _exceptionFns,
  );
  return CrlDetailResponse.fromJson(response);
}