Method: users.delete
Xoá người dùng.
Phương thức này có các yêu cầu xác thực riêng. Hãy đọc các điều kiện tiên quyết trong Hướng dẫn quản lý người dùng trước khi sử dụng phương thức này.
Tính năng "Thử phương thức này" không hoạt động với phương thức này.
Yêu cầu HTTP
DELETE https://displayvideo.googleapis.com/v3/users/{userId}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
userId |
string (int64 format)
Bắt buộc. Mã nhận dạng của người dùng cần xoá.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ là một đối tượng JSON trống.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/display-video-user-management
Để biết thêm thông tin, hãy xem OAuth 2.0 Overview.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-02-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]