Change password

Change password

post

Change the password for a user account. This function is only available through a JWT token.

Authorizations
Path parameters
userIdintegerRequired

User ID

Body
currentPasswordstringRequired
newPasswordstringRequired
Responses
200
OK
application/json
post
POST /v1/api/users/{userId}/change-password HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 47

{
  "currentPassword": "text",
  "newPassword": "text"
}
200

OK

{
  "success": true,
  "error": "text"
}

Last updated

Was this helpful?