Links

Reset Password

Reset the password for a user.
post
https://studio.edgeimpulse.com/v1
/api-user-reset-password
Reset password

Reset the password for a user.

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