Method: grants.delete
تمام دسترسی کاربر به بسته داده شده یا حساب توسعه دهنده را حذف می کند.
درخواست HTTP
DELETE https://androidpublisher.googleapis.com/androidpublisher/v3/{name=developers/*/users/*/grants/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. نام کمک مالی برای حذف. قالب: developers/{developer}/users/{email}/grants/{packageName} |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ یک شی JSON خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/androidpublisher
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-12-18 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-12-18 بهوقت ساعت هماهنگ جهانی."],[[["Removes a user's access to a specific package or developer account."],["Uses an HTTP DELETE request with the grant's name specified in the URL path."],["Requires an empty request body and returns an empty response body upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines the process for revoking a user's access to a package or developer account. A `DELETE` HTTP request is sent to a specific URL using gRPC Transcoding syntax, with the `name` parameter specifying the grant to remove in the format `developers/*/users/*/grants/*`. The request body must be empty, and a successful deletion returns an empty JSON object. The process necessitates the `https://www.googleapis.com/auth/androidpublisher` authorization scope.\n"]]