Method: locations.questions.delete
Xoá một câu hỏi cụ thể do người dùng hiện tại viết.
Yêu cầu HTTP
DELETE https://mybusinessqanda.googleapis.com/v1/{name=locations/*/questions/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
name |
string
Bắt buộc. Tên câu hỏi 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ẽ trống.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/business.manage
Để biết thêm thông tin, hãy xem Tổng quan về OAuth 2.0.
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: 2023-12-02 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2023-12-02 UTC."],[[["Deletes a specific question using an HTTP DELETE request to the specified URL."],["Requires providing the question's name as a path parameter in the request URL."],["The request body should be empty, and a successful deletion results in an empty response body."],["Authorization requires the `https://www.googleapis.com/auth/business.manage` OAuth scope."]]],["This document details the process of deleting a user's question. The core action is a `DELETE` HTTP request sent to a specific URL: `https://mybusinessqanda.googleapis.com/v1/{name=locations/*/questions/*}`. The `name` path parameter, a string, is required to identify the question for deletion. The request body must be empty. A successful deletion returns an empty response body. The operation requires OAuth scope: `https://www.googleapis.com/auth/business.manage`.\n"]]