enableCrl method
Enables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to receive session credentials.
Required permissions: rolesanywhere:EnableCrl.
May throw AccessDeniedException.
May throw ResourceNotFoundException.
Parameter crlId :
The unique identifier of the certificate revocation list (CRL).
Implementation
Future<CrlDetailResponse> enableCrl({
required String crlId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri: '/crl/${Uri.encodeComponent(crlId)}/enable',
exceptionFnMap: _exceptionFns,
);
return CrlDetailResponse.fromJson(response);
}