generateActivationCode

POST

generateActivationCode

Generate a single-use activation code for a user. The code expires 30 days after being issued.

Resource URL

https://api-sandbox.arity.com/drivinginsights/v1 /orgs/{orgId}/users/{userId}/activation

Header Parameters


Name Values Description
Content-Type

Content-Type

Authorization
(required)

Value should be the word Bearer followed by a space and then the b2b-scope access token (e.g., Bearer CW8abh5JkxZ5KYdAQQH0p9fTAicq). To generate a b2b-scope access token, use the OAuth API.

Body Parameters


Name Values Description
body
(required)

Request Body

orgId Unique ID for the organization, provided by Arity. null true

userId Unique ID for 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

    Bad request

  • 404

    Not found

  • 503

    Service unavailable

Resource Summary

Security

Content Type

application/json

Category

activation-code-controller

Name Type Description
Name Type Description

Working...

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