DeleteWaitlistEntry method

  • Use DeleteWaitlistEntry to delete an existing waitlist entry.

  • If a booking update fails, the error will be in the response; deleting non-existing resources should return 404 Not Found.

  • The DeleteWaitlistEntryRequest requires the partner-provided ID for the waitlist entry to be deleted.

  • The Return value for a successful DeleteWaitlistEntry is an empty message.

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

{}