lib/ibm_watson/text_to_speech_v1.rb
def delete_user_data(customer_id:)
      raise ArgumentError.new("customer_id must be provided") if customer_id.nil?

      headers = {
      }
      sdk_headers = Common.new.get_sdk_headers("text_to_speech", "V1", "delete_user_data")
      headers.merge!(sdk_headers)

      params = {
        "customer_id" => customer_id
      }

      method_url = "/v1/user_data"

      request(
        method: "DELETE",
        url: method_url,
        headers: headers,
        params: params,
        accept_json: false
      )
      nil
    end
def delete_user_data(customer_id:)
      raise ArgumentError.new("customer_id must be provided") if customer_id.nil?

      headers = {
      }
      sdk_headers = Common.new.get_sdk_headers("text_to_speech", "V1", "delete_user_data")
      headers.merge!(sdk_headers)

      params = {
        "customer_id" => customer_id
      }

      method_url = "/v1/user_data"

      request(
        method: "DELETE",
        url: method_url,
        headers: headers,
        params: params,
        accept_json: false
      )
      nil
    end
User data


 @!method delete_user_data(customer_id:)
 Delete labeled data.
 Deletes all data that is associated with a specified customer ID. The method
   deletes all data for the customer ID, regardless of the method by which the
   information was added. The method has no effect if no data is associated with the
   customer ID. You must issue the request with credentials for the same instance of
   the service that was used to associate the customer ID with the data.

   You associate a customer ID with data by passing the `X-Watson-Metadata` header
   with a request that passes the data.

   **See also:** [Information
   security](https://cloud.ibm.com/docs/services/text-to-speech/information-security.html).
 @param customer_id [String] The customer ID for which all data is to be deleted.
 @return [nil]