deleteAttributeMapping method
Delete an entry from the attribute mapping rules enforced by a given profile.
May throw AccessDeniedException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter certificateField :
Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
Parameter profileId :
The unique identifier of the profile.
Parameter specifiers :
A list of specifiers of a certificate field; for example, CN, OU, UID from
a Subject.
Implementation
Future<DeleteAttributeMappingResponse> deleteAttributeMapping({
required CertificateField certificateField,
required String profileId,
List<String>? specifiers,
}) async {
final $query = <String, List<String>>{
'certificateField': [certificateField.value],
if (specifiers != null) 'specifiers': specifiers,
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/profiles/${Uri.encodeComponent(profileId)}/mappings',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return DeleteAttributeMappingResponse.fromJson(response);
}