HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
♥️
2기 최종 프로젝트 팀별 공간
/
🌳
[팀 05] Forest
/
🪐
BE WorkSpace
/
🗯️
API 명세
/
✅
/api/v1/ridingposts/{postId}/cancel
✅

/api/v1/ridingposts/{postId}/cancel

HTTP 메서드
POST
contents-type
application-json
비고
라이딩 참가 신청 취소
연관된 페이지
7.신청내역페이지
속성
⏳ 유저 스토리

[ Description ]

  • 라이딩 모집 참가 취소

[ Request]

Header
Name
Type
Description
비고
Authorization
String
인증 토큰

[ Responses ]

200 OK

  • message : string 성공 메세지

400 BAD REQUEST

{ "errorCode" : 0, "message" : "deadline over" }
 
ErrorResult
Name
Type
Description
비고
errorCode
Integer
에러 코드
0 : 참가 취소 가능 시간이 지난 후 요청한 경우 1 : 라이딩 멤버가 아닌 유저가 취소 요청을 보낸경우, 게시글 id가 잘못된 경우
message
String
에러 메세지
 

401 Unauthorized (jwt 토큰을 이용한 인증이 실패할 경우)

  • message : string 에러메세지