설명

현재 기기의 FCM registration token을 비활성화합니다. 로그아웃 시 사용합니다.

Request

Query parameter

없음

Header

DELETE /api/v1/fcm-tokens
Authorization: Bearer {accessToken}
Content-Type: application/json

Body

key 설명 value 타입 옵션 필수/조건 예시
token 비활성화할 FCM registration token String 필수 "fcm_token_xxx"
{
  "token": "fcm_token_xxx"
}

Response

성공 시 응답 body를 내려주지 않습니다.

HTTP/1.1 204 No Content

Status

status response content
204 FCM token 비활성화 성공
400 VALIDATION_FAILED • 요청 body가 올바르지 않음
401 UNAUTHENTICATED • 인증 정보가 없음
401 AUTH_INVALID_TOKEN • 유효하지 않은 Access Token
401 AUTH_TOKEN_EXPIRED • 만료된 Access Token
500 INTERNAL_ERROR

Notes