Last updated 8 months ago
Change the password for a user account. This function is only available through a JWT token.
User ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/users/{userId}/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" }