Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
Method: accounts.locations.admins.delete
นำผู้ดูแลระบบที่ระบุออกจากการเป็นผู้จัดการของสถานที่ที่ระบุ
คำขอ HTTP
DELETE https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/admins/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ชื่อทรัพยากรของผู้ดูแลระบบที่จะนำออกจากตำแหน่ง
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากสำเร็จ เนื้อหาการตอบกลับจะว่างเปล่า
ขอบเขตการให้สิทธิ์
ต้องมีขอบเขต OAuth อย่างใดอย่างหนึ่งต่อไปนี้
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
ดูข้อมูลเพิ่มเติมได้ที่ภาพรวมของ OAuth 2.0
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-12-02 UTC
[null,null,["อัปเดตล่าสุด 2023-12-02 UTC"],[[["This API endpoint (`DELETE`) removes a specified admin from a Google My Business location."],["It requires an empty request body and returns an empty response body upon successful execution."],["The API uses the `name` path parameter to identify the admin to be removed."],["Authorization is required using one of the specified OAuth scopes: `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."],["This endpoint is deprecated; use the Account Management API instead."]]],["This document outlines the process for removing an admin from a location via a `DELETE` HTTP request. The request uses a specific URL structure with a required `name` path parameter that represents the admin to be removed. The request body must be empty. A successful operation returns an empty response body. The method requires either the `plus.business.manage` or `business.manage` OAuth scope for authorization. Note that this method is deprecated, instead use the Account Management API.\n"]]