Replace Device With a New Device

put

Replace Device With a New Device

Use this endpoint to replace the phone associated with a given user ID. This should be used in two scenarios- before re-registering a previously enrolled user to the Driving Behavior product, or when a user has replaced their phone and will be uploading data from the new device. The old device will be deactivated and we will no longer collect data from it. We will only collect data from the new device provisioned by this call. The device ID stored on the phone needs to also be replaced.

Resource URL

https://api-sandbox.arity.com/registration/v2 /devices/{deviceId}

Header Parameters


Name Values Description
Authorization
(required)

Access Token

Body Parameters


Name Values Description
body

Request Body

The id of the new device and effective date is the date you want the new device to be active and the old one to be inactive

deviceId Id of device whose status to return null true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400
    400

    Bad Request response

  • 401
    401

    Unauthorized response

  • 500
    500

    Server Error response

Resource Summary

Security

Content Type

application/json

Category

Devices

Name Type Description
Name Type Description

Working...

© 2019 Arity, LLC. All rights reserved.  | Privacy Policy | Terms of Use | Legacy APIs