DeleteWaitlistEntry method

  • The DeleteWaitlistEntry method allows clients to remove an existing waitlist entry.

  • Requests must include the waitlist_entry_id in the request body.

  • Successful deletion returns an empty response, while attempts to delete non-existent entries result in a 404 (Not Found) error.

  • Business logic errors during deletion will be indicated in the response.

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

{}