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
Request Body
orgId Unique ID for the organization, provided by Arity. null true
userId Unique ID for the user. null true
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 CodeError CodeDescription
-
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...