PATCH Activate or Deactivate a user

patch

PATCH Activate or Deactivate a user

This endpoint allows you to activate or deactivate a user by setting status to true or false respectively. An optional device id or product list can be supplied to associate with the user on activation.

Resource URL

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

Header Parameters


Name Values Description
Authorization
(required)

Access Token

Body Parameters


Name Values Description
body
(required)

Request Body

active: Set the status of the user.

deviceId: Only pertinent on activation, you can specify a device to create and associate with the user.

products: Only pertinent on activation, you can specify products to associate with the user.

userId The id of the 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

Users

Name Type Description
Name Type Description

Working...

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