DeleteWaitlistEntry 方法

用戶端會使用 DeleteWaitlistEntry 刪除現有的等候名單項目。

如果因為任何商業邏輯錯誤導致預訂更新失敗, ,刪除非現有資源 應傳回 HTTP 狀態碼 404 (找不到)。

要求

DeleteWaitlistEntryRequest

傳回值

google.protobuf.Empty (空白訊息)

// Cancel the users' 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" }

刪除回應

{}