Remove a registration or device token - When unregistering all device tokens
Changed onRemove a registration or device token
Removes a user's specific registration or device token or all tokens. You can pass gcm, huawei, or apns for FCM registration token, HMS device token, or APNs device token, respectively, in the token_type parameter for the push notification service you are using.
Request
- Base URLhttps://api-APP_ID.sendbird.com
- Authnone declared
Path parameters
(Required)
Headers
Response
Successful response
Example response
{
"user": {
"metadata": "{}",
"require_auth_for_profile_image": true,
"is_active": true,
"role": "",
"user_id": "user_id",
"profile_url": "profile_url",
"nickname": "nickname",
"is_blocked_by_me": true
},
"token": [
"token",
"token"
]
}Changes
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - info
the
response's property default valuewas added for the status
- breaking
- warning
deleted the
headerrequest parameterApi-Token - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
api operation id
removeRegistrationOrDeviceTokenremoved and replaced withremoveAllRegistrationOrDeviceToken - info
added the new optional
headerrequest parameterapi-token - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
the response property
/became required for the status
- warning