DeviceToken

디바이스 토큰 등록/갱신

FCM 디바이스 토큰을 등록합니다. 이미 등록된 토큰이면(재설치/재로그인 등) 소유자를 현재 로그인 사용자로 갱신합니다. Authorization: Bearer {accessToken} 헤더로 인증합니다.

put/api/notifications/device-tokens

Request

  • Base URL: https://api-dev.pallang.co.kr
  • URL: https://api-dev.pallang.co.kr/api/notifications/device-tokens
  • Auth: HTTP bearer

Request body

tokenstring required
platform'IOS' | 'ANDROID' required

Example request

{
  "token": "fcm-device-token-example"
}

Response

등록/갱신 성공

Changes

No recorded changes to this operation across all 1 revision of this API.