DeleteWaitlistEntry method

The client uses DeleteWaitlistEntry delete an existing waitlist entry.

If updating a booking fails due to any business logic error, the error should be populated in the response. Delete for non-existing resources should return HTTP status code 404 (Not Found).

Request

DeleteWaitlistEntryRequest

Return value

google.protobuf.Empty (an empty message)

// 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 samples

Delete request

{ "waitlist_entry_id": "MYS-1668739060" }

Delete response

{}