-
Notifications
You must be signed in to change notification settings - Fork 1
Toy μμ
soyeon Park edited this page Feb 5, 2021
·
1 revision
http://49.50.175.141:8080/api
-
url
/toys/{id}
-
method
DELETE
-
request body
{ "password": "password486" }
Field Type Description Required password String κΈμ μμ±ν μ¬λμ΄ μ΄ λΉλ°λ²νΈκ° μμ ν λ λ€μ μ°μΈλ€ O
-
success response
-
status: 204
-
body
{ "message": "toy μμ μ±κ³΅!" }
Field Type Description Required message String toy μμ μ±κ³΅ λ©μΈμ§ O
-
-
fail response
{ "message": {{String}} }
Field Type Description Example Required message String μ€λ₯ μ€ν¨ λ©μΈμ§ "μ¬μ©μλ₯Ό μ°Ύμ μ μμ΅λλ€" O status message μν© 400 "Bad Request" μμ²μ μλͺ»ν κ²½μ° 401 "Entity Not Found exception" μμ νλ €λ κΈμ΄ μλ κ²½μ° 402 "ν¨μ€μλ μ€λ₯" μμ νλ €λ κΈμ ν¨μ€μλκ° νλ¦° κ²½μ°