diff --git a/backend/src/main/java/aimo/backend/domains/member/controller/MemberController.java b/backend/src/main/java/aimo/backend/domains/member/controller/MemberController.java index e247f49..d6dedb0 100644 --- a/backend/src/main/java/aimo/backend/domains/member/controller/MemberController.java +++ b/backend/src/main/java/aimo/backend/domains/member/controller/MemberController.java @@ -62,11 +62,11 @@ public ResponseEntity> signupMember(@RequestBody @Valid SignU return ResponseEntity.status(HttpStatus.CREATED).body(DataResponse.created()); } - @DeleteMapping + @PostMapping public ResponseEntity> deleteMember(@RequestBody DeleteMemberRequest deleteMemberRequest) { memberService.deleteMember(deleteMemberRequest); - return ResponseEntity.status(HttpStatus.NO_CONTENT).body(DataResponse.noContent()); + return ResponseEntity.status(HttpStatus.CREATED).body(DataResponse.noContent()); } @PostMapping("/profile/presigned")