device-tokens
Update device token usage
Update the last used timestamp for a device token
patch/device-tokens/update-usage/{token}
Path parameters
tokenstring required
Example:fcm_token_here_very_long_string_from_firebase
Firebase device token to update
Response
Device token usage updated successfully
Example response
{
"device_token_id": 1,
"user_id": "user123",
"member_acc_id": "ACC123456",
"phone_number_id": "PHONE789",
"device_token": "fcm_token_here_very_long_string_from_firebase",
"device_type": "android",
"app_version": "1.0.0",
"os_version": "Android 13",
"is_active": true,
"created_at": "2024-01-01T10:00:00.000Z",
"updated_at": "2024-01-01T10:00:00.000Z",
"last_used_at": "2024-01-01T10:00:00.000Z"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.