code: def update_certificate(self, cert_id, body, **kwargs):  # noqa: E501
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('asynchronous'):
              return self.update_certificate_with_http_info(cert_id, body, **kwargs)  # noqa: E501
          else:
              (data) = self.update_certificate_with_http_info(cert_id, body, **kwargs)  # noqa: E501
              return data
docs: Update trusted certificate.  # noqa: E501
  
          An endpoint for updating existing trusted certificates.   **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/trusted-certificates/{cert-id} -d {\"description\": \"very important cert\"} -H 'content-type: application/json' -H 'Authorization: Bearer API_KEY'`  # noqa: E501
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass asynchronous=True
          >>> thread = api.update_certificate(cert_id, body, asynchronous=True)
          >>> result = thread.get()
  
          :param asynchronous bool
          :param str cert_id: The ID of the trusted certificate to be updated. (required)
          :param TrustedCertificateUpdateReq body: A trusted certificate object with attributes. (required)
          :return: TrustedCertificateResp
                   If the method is called asynchronously,
                   returns the request thread.