Method: users.delete
یک کاربر را حذف می کند.
این روش دارای الزامات احراز هویت منحصر به فردی است. قبل از استفاده از این روش، پیش نیازها را در راهنمای مدیریت کاربران ما بخوانید.
ویژگی «این روش را امتحان کنید» برای این روش کار نمی کند.
درخواست HTTP
DELETE https://displayvideo.googleapis.com/v3/users/{userId}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
userId | string ( int64 format) مورد نیاز. شناسه کاربر برای حذف. |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ یک شی JSON خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/display-video-user-management
برای اطلاعات بیشتر، بهOAuth 2.0 Overview .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-02-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-02-25 بهوقت ساعت هماهنگ جهانی."],[[["This guide details how to delete a user using the Display & Video 360 API with a `DELETE` request to a specific endpoint."],["It requires specific authentication outlined in the Managing Users guide and uses `userId` as a path parameter to identify the user to be deleted."],["The request body should be empty, and upon successful deletion, the response body will also be empty."],["This method needs authorization with the `https://www.googleapis.com/auth/display-video-user-management` scope."],["The \"Try this method\" feature is not available for this specific API request."]]],["This document outlines how to delete a user via an API. A `DELETE` request is sent to `https://displayvideo.googleapis.com/v3/users/{userId}`, where `{userId}` is the required ID of the user to be deleted. The request body must be empty. Successful deletion returns an empty JSON object. Authentication requires the `https://www.googleapis.com/auth/display-video-user-management` OAuth scope. Note, \"Try this method\" does not work and the user must read the prerequisite of the related link to access this method.\n"]]