Last updated 7 months ago
Change the password for the current user account. This function is only available through a JWT token.
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/user/change-password', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "currentPassword": "text", "newPassword": "text" }), }); const data = await response.json();
{ "success": false, "error": "text" }