HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🧚
[1기]최종 프로젝트 데브코스
/
🏀
[팀14] 슬램 - 우리 주변 농구장 예약
/
🧭
Domain 설계
/
[PATCH] /api/v1/management/newCourt/deny

[PATCH] /api/v1/management/newCourt/deny

✅
관리자가 농구장 등록 거부하기

REQUEST

Header

Headers { Authorization: "Bearer {token}" }
Body
Field
Type
Description
비고
newCourtId
Number
사용자가 등록한 농구장의 구별키
  • Body 예시
{ "newCourtId": "3" }
 

RESPONSE

Body
Field
Type
Description
비고
newCourtId
Number
사용자가 등록한 농구장 구별키
courtName
String
농구장 이름
latitude
Number
위도
longtitude
Number
경도
image
String
농구장 사진 url
texture
String
농구장 바닥 재질
basketCount
Number
농구장 골대 개수
status
String
처리 현황
READY(처리 전), ACCEPT(승인), DENY(거절)
createdAt
String
사용자가 등록한 농구장 최초 생성 시간
updatedAt
String
사용자가 등록한 농구장 최근 수정 시간
  • Body 예시
{ "id": "3", "courtName": "용산구 농구장", "latitude": 38.987654, "longtitude": 12.309472, "image": "s3에 저장된 농구장 이미지", "texture": "ETC", "basketCount": 2, "status": "DENY", "createdAt": "2021-12-01T12:00:00", "updatedAt":"2021-12-01T12:00:00", "supervisor": { "id": 17, "nickname": "관리자", "profileImage": "s3에 저장된 프로필이미지 url" } }