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
curl -L \
  --request POST \
  --url 'https://studio.edgeimpulse.com/v1/api/user/activate-by-third-party-activation-code' \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
    "activationCode": "text",
    "password": "text",
    "name": "Jan Jongboom",
    "username": "janjongboom",
    "privacyPolicy": true
  }'
`{ "success": true, "token": "A372jdhe.ad3r4gfrg" }`

Last updated

Was this helpful?