Method: users.delete
Удаляет пользователя.
Этот метод имеет уникальные требования к аутентификации. Прежде чем использовать этот метод, прочтите предварительные требования в нашем руководстве по управлению пользователями .
Функция «Попробуйте этот метод» для этого метода не работает.
HTTP-запрос
DELETE https://displayvideo.googleapis.com/v3/users/{userId}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
userId | string ( int64 format) Необходимый. Идентификатор пользователя, которого требуется удалить. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа представляет собой пустой объект JSON.
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/display-video-user-management
Для получения дополнительной информации см.OAuth 2.0 Overview .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. 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"]]