DeleteWaitlistEntry 메서드

클라이언트가 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" }

응답 삭제

{}