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

Authorizations

x-api-key
string
header
required

Body

application/json
activationCode
string
required
password
string
required

Password, minimum length 8 characters.

username
string
required

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"

name
string

Your name

Example:

"Jan Jongboom"

privacyPolicy
boolean

Whether the user accepted the privacy policy

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

error
string

Optional error description (set if 'success' was false)

token
string

JWT token, to be used to log in in the future through JWTAuthentication

redirectUrl
string

Redirect URL to follow to complete login