Activate user by third party activation code

Activate user by third party activation code

post

Activate a user that was created by a third party. This function is only available through a JWT token.

Authorizations
Body
activationCodestringRequired
passwordstringRequired

Password, minimum length 8 characters.

namestringOptional

Your name

Example: Jan Jongboom
usernamestringRequired

Username, minimum 4 and maximum 30 characters. May contain alphanumeric characters, hyphens, underscores and dots. Validated according to ^(?=.{4,30}$)(?![_.])(?!.*[_.]{2})[a-zA-Z0-9._-]+(?<![_.])$.

Example: janjongboom
privacyPolicybooleanOptional

Whether the user accepted the privacy policy

Responses
200
OK
application/json
Responseall ofExample: `{ "success": true, "token": "A372jdhe.ad3r4gfrg" }`
post
POST /v1/api/user/activate-by-third-party-activation-code HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 111

{
  "activationCode": "text",
  "password": "text",
  "name": "Jan Jongboom",
  "username": "janjongboom",
  "privacyPolicy": true
}
200

OK

`{ "success": true, "token": "A372jdhe.ad3r4gfrg" }`

Last updated

Was this helpful?