Last updated 7 months ago
Set the password for a new SSO user. This function is only available through an SSO access 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}/set-password', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "accessToken": "text", "identityProvider": "text", "password": "text" }), }); const data = await response.json();
{ "success": false, "error": "text" }