Links

Get User

Get information about a user. This function is only available through a JWT token.
get
https://studio.edgeimpulse.com/v1
/api/users/{userId}
Get user

Get information about a user. This function is only available through a JWT token.

Parameters
Path
userId*
integer
User ID
Responses
200: OK
OK
cURL
Python
Node.js
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/users/{userId} \
--header 'x-jwt-token: REPLACE_KEY_VALUE'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
headers = { 'x-jwt-token': "REPLACE_KEY_VALUE" }
conn.request("GET", "/v1/api/users/{userId}", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const request = require('request');
const options = {
method: 'GET',
url: 'https://studio.edgeimpulse.com/v1/api/users/{userId}',
headers: {'x-jwt-token': 'REPLACE_KEY_VALUE'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});