Update Device Token
To update the user's device information by username, you can use the below API.
info
{api-base-url}
can be obtained from the MirrorFly console.
#
HTTP request#
Request ParamsParam | DataType | Required | Description |
---|---|---|---|
username | String | Yes | The user's username whose device information has to be updated. |
deviceType | String | Yes | Device type to updated. |
deviceId | String | No | Device Id to be updated. |
deviceOsVersion | String | No | Device os version to be updated. |
deviceToken | String | No | Device token to receive the push notification for android/ios devices. |
voipDeviceToken | String | No | Voip device token to receive the call related push notification for the ios devices. |
#
ResponsesIf successful, this action returns below response.
#
ErrorIn the case of an error, an error object like below is returned.
When the token passed in Headers is not given or expired
In the case of a Bad Request, an error message is returned