Update user's only active device

put

Update user's only active device

Replace a user's only active device with the user's id and an optional new device Id. The user's old active device will be deactivated and a new device will be created, activated, and assigned to the user. If the user has multiple active devices, this route will throw a Bad Request. In that case, use the PUT /devices/{deviceId} route to specify which device to replace.

Resource URL

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

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

userId Id of the existing user 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