[예제]일정 삭제
삭제할 일정의 id를 전달받아 해당 일정을 삭제하고 삭제한 일정을 반환한다.
DELETE
http://3.135.231.171/{id}
URI Parameter
Name | In | Required | Type | Description |
---|---|---|---|---|
id | path | true | int | 삭제할 일정의 id |
Response
Status code | Type | Description |
---|---|---|
200 OK | TodoList | 삭제한 일정 |
예제
Sample Request
DELETE
http://3.135.231.171/34
Sample Response
Status code: 200
{
"id": 34,
"time": "6:30PM",
"content": "dinner"
}