Reset password

Reset password

Reset the password for a user.

POSThttps://studio.edgeimpulse.com/v1/api-user-reset-password
Body
email*string
code*string
newPassword*string
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api-user-reset-password', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "email": "text",
      "code": "text",
      "newPassword": "text"
    }),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated