Authentication
Set or change the password on the authenticated user.
Use cases:
- User signed up via API key only and now wants an email/password login
for the same identity -> call this once to set the password (and,
if their email is still
api_user_*@efficientai.local, pass a realemailto replace it). - User already has a password and wants to rotate it -> supply both
current_passwordandnew_password.
AuthorizationBearer <token>
JWT access token. Use: Authorization: Bearer .
In: header
Header Parameters
X-API-Key?string|null
X-EFFICIENTAI-API-KEY?string|null
X-Workspace-Id?string
Optional workspace scope. When omitted, the backend uses the active/default workspace from your organization context.
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/auth/password" \ -H "Content-Type: application/json" \ -d '{ "new_password": "stringst" }'{ "id": "string", "email": "string", "name": "string", "first_name": "string", "last_name": "string", "organization_id": "string", "role": "string", "has_password": false, "email_is_placeholder": false}Community & contact
- Found a bug or have a feature request? Open a GitHub issue.
- Join our Discord for faster replies!
