Skip to main content
POST
/
v1
/
auth
/
change-password
Change password
curl --request POST \
  --url https://api.usenaive.ai/v1/auth/change-password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "current_password": "<string>",
  "new_password": "<string>"
}
'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

application/json
current_password
string
required
new_password
string
required
Minimum string length: 8

Response

Changed.

ok
boolean