disableRadius method
Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD directory.
May throw EntityDoesNotExistException. May throw ClientException. May throw ServiceException.
Parameter directoryId
:
The identifier of the directory for which to disable MFA.
Implementation
Future<void> disableRadius({
required String directoryId,
}) async {
ArgumentError.checkNotNull(directoryId, 'directoryId');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'DirectoryService_20150416.DisableRadius'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'DirectoryId': directoryId,
},
);
}