Skip to main content
PUT
/
v1
/
account
/
password
Update authenticated user password
curl --request PUT \
  --url https://dev.flextell.ai/api/v1/account/password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "current_password": "<string>",
  "password": "<string>",
  "password_confirmation": "<string>"
}
'
{
  "success": "<string>",
  "data": {
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
current_password
string
required

The current account password.

password
string
required

The password.

password_confirmation
string
required

Response

success
string
required
data
object
required