Method: users.delete
מחיקה של משתמש.
לשיטה הזו יש דרישות אימות ייחודיות. לפני שמשתמשים בשיטה הזו, כדאי לקרוא את הדרישות המוקדמות שמפורטות במדריך לניהול משתמשים.
התכונה 'ניסיון השיטה הזו' לא פועלת בשיטה הזו.
בקשת HTTP
DELETE https://displayvideo.googleapis.com/v3/users/{userId}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
userId |
string (int64 format)
חובה. המזהה של המשתמש שרוצים למחוק.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה הוא אובייקט JSON ריק.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/display-video-user-management
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-02-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-02-25 (שעון UTC)."],[[["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"]]