Method: accounts.dataSources.delete
یک منبع داده را از حساب Merchant Center شما حذف می کند.
درخواست HTTP
DELETE https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. نام منبع داده برای حذف. قالب: accounts/{account}/dataSources/{datasource} |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ یک شی JSON خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/content
برای اطلاعات بیشتر، بهOAuth 2.0 Overview .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-23 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-23 بهوقت ساعت هماهنگ جهانی."],[[["This document outlines the process for deleting a data source from a Merchant Center account using an HTTP DELETE request."],["The request requires specifying the data source name in the URL path and an empty request body."],["Upon successful deletion, the response will be an empty JSON object."],["Authorization is necessary using the `https://www.googleapis.com/auth/content` OAuth scope."]]],["This document details the process for deleting a data source from a Merchant Center account. The core action is a `DELETE` HTTP request to a specific URL: `https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}`. The `name` path parameter, a string, is mandatory, specifying the data source to delete. The request body must be empty. A successful deletion returns an empty JSON object. The `https://www.googleapis.com/auth/content` OAuth scope is required for authorization.\n"]]