用戶端使用 DeleteWaitlistEntry 刪除現有的等候名單項目。
如果因任何商業邏輯錯誤而導致預訂更新失敗,則應在回應中填入該錯誤。如果是現有資源的刪除,應傳回 HTTP 狀態碼 404 (找不到)。
要求
DeleteWaitlistEntryRequest
傳回值
google.protobuf.Empty (空白訊息)
// Cancel the user's entry in the waitlist. message DeleteWaitlistEntryRequest { // Required. The partner-provided ID for the waitlist entry to be deleted. string waitlist_entry_id = 1; }
DeleteWaitlistEntry 範例
刪除請求
{ "waitlist_entry_id": "MYS-1668739060" }
刪除回應
{}