Actions87
- Admin Actions
- API Key Actions
- Assistant Actions
- Auth Actions
- Customer Actions
- Dashboard Actions
- Event Actions
- File Actions
- File Folder Actions
- Invoice Actions
- Note Actions
- Password Actions
- Product Actions
- Profile Actions
- Project Actions
- STSS Actions
- Table Actions
- Task Actions
- Tax Actions
- Transcription Actions
- User Actions
Profile → Update
AI-generatedSummary
Update the current user's profile information including name, email, and password by sending specified changes to the TeamHub API.
Inputs
- Update Fields — Specify any combination of 'name', 'email', and 'newPassword' to update, and include 'currentPassword' if changing the password.
- Options — Optional settings such as whether to ignore SSL certificate errors.
Output shape
a single JSON object representing the updated profile
The output contains the updated profile data returned by the /api/profile PATCH endpoint. The operation requires a valid authenticated session and will fail if 'currentPassword' is missing when changing the password.
Examples
Example 1: Update the current user's name and email
Provide 'name' and 'email' fields in Update Fields; 'currentPassword' is not required unless 'newPassword' is set.
Example 2: Change the user's password
Provide 'newPassword' and include 'currentPassword' to authorize the password change.