updateClientCertificate method
Changes information about an ClientCertificate resource.
May throw BadRequestException.
May throw ConflictException.
May throw LimitExceededException.
May throw NotFoundException.
May throw TooManyRequestsException.
May throw UnauthorizedException.
Parameter clientCertificateId :
The identifier of the ClientCertificate resource to be updated.
Parameter patchOperations :
For more information about supported patch operations, see Patch
Operations.
Implementation
Future<ClientCertificate> updateClientCertificate({
required String clientCertificateId,
List<PatchOperation>? patchOperations,
}) async {
final $payload = <String, dynamic>{
if (patchOperations != null) 'patchOperations': patchOperations,
};
final response = await _protocol.send(
payload: $payload,
method: 'PATCH',
requestUri:
'/clientcertificates/${Uri.encodeComponent(clientCertificateId)}',
exceptionFnMap: _exceptionFns,
);
return ClientCertificate.fromJson(response);
}