Skip to content

[DELETE] 알림 로그 삭제

Gyunny edited this page Jun 27, 2021 · 4 revisions
메소드 경로 설명
DELETE /api/v2/alarm/{alarmId}?alarm_status=1 알람 로그 삭제
  • alarm_status: 1(전체 알람), 2(친구 알람)

스크린샷 2021-06-05 오전 2 22 40

Request Header

{
    "Content-Type": "application/json",
    "token": "[토큰]"
}

Response

< Success >

  • 알람 로그 삭제
{
    "status": 200,
    "message": "알람 로그 삭제되었습니다",
    "data": null
}

< Fail >

  • 잘못된 토큰
{
    "status": 401,
    "message": "[토큰 관련 메세지]",
    "data": null
}
  • 서버 에러
{
    "status": 500,
    "message": "서버 내부 에러입니다"
}