Get User By Third Party Activation Code
Get information about a user through an activation code. This function is only available through a JWT token.
post
https://studio.edgeimpulse.com/v1
/api/user/by-third-party-activation-code
Get user by third party activation code
Get information about a user through an activation code. This function is only available through a JWT token.
Parameters
No parameters
Body
Example
Schema
{
"activationCode": "string"
}
Responses
200: OK
OK
cURL
Python
Node.js
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/user/by-third-party-activation-code \
--header 'content-type: application/json' \
--header 'x-jwt-token: REPLACE_KEY_VALUE' \
--data '{"activationCode":"string"}'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
payload = "{\"activationCode\":\"string\"}"
headers = {
'content-type': "application/json",
'x-jwt-token': "REPLACE_KEY_VALUE"
}
conn.request("POST", "/v1/api/user/by-third-party-activation-code", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'POST',
url: 'https://studio.edgeimpulse.com/v1/api/user/by-third-party-activation-code',
headers: {'content-type': 'application/json', 'x-jwt-token': 'REPLACE_KEY_VALUE'},
body: {activationCode: 'string'},
json: true
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
Last modified 3mo ago