Links

Create User

Create a new user and project
post
https://studio.edgeimpulse.com/v1
/api-user-create
Create user

Create a new user and project

Parameters
No parameters
Body
Example
Schema
{
"name": "Jan Jongboom",
"username": "janjongboom",
"email": "[email protected]",
"password": "string",
"projectName": "string",
"privacyPolicy": true,
"activationToken": "string",
"identityProvider": "string"
}
Responses
200: OK
OK
cURL
Python
Node.js
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api-user-create \
--header 'content-type: application/json' \
--data '{"name":"Jan Jongboom","username":"janjongboom","email":"[email protected]","password":"string","projectName":"string","privacyPolicy":true,"activationToken":"string","identityProvider":"string"}'
import http.client
conn = http.client.HTTPSConnection("studio.edgeimpulse.com")
payload = "{\"name\":\"Jan Jongboom\",\"username\":\"janjongboom\",\"email\":\"[email protected]\",\"password\":\"string\",\"projectName\":\"string\",\"privacyPolicy\":true,\"activationToken\":\"string\",\"identityProvider\":\"string\"}"
headers = { 'content-type': "application/json" }
conn.request("POST", "/v1/api-user-create", 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-create',
headers: {'content-type': 'application/json'},
body: {
name: 'Jan Jongboom',
username: 'janjongboom',
password: 'string',
projectName: 'string',
privacyPolicy: true,
activationToken: 'string',
identityProvider: 'string'
},
json: true
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});