Browse the API reference

Update Password

put/v1/user/password

Part of User.

Requires current password verification. Not available for SSO-only accounts.

Authentication

Authenticate in any one of these ways — not all of them:

  • API key in the X-API-Key header.
  • Bearer token in the Authorization header.

Request body

Required, application/json.

FieldTypeDescription
current_passwordrequiredstring

Current password

new_passwordrequiredstring

New password

confirm_passwordrequiredstring

Confirm new password

Example request

curl
curl -X PUT "https://api.robosystems.ai/v1/user/password" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "current_password": "string",
  "new_password": "string",
  "confirm_password": "string"
}'

Responses

200 Successful Response

FieldTypeDescription
successoptionalboolean

Indicates the operation completed successfully

Default: true

messagerequiredstring

Human-readable success message

dataoptionalobject

Optional additional data related to the operation

StatusMeaning
400Invalid request
401Authentication required
403Access denied
422Validation Error
429Rate limit exceeded
500Internal server error