Documentation Index
Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt
Use this file to discover all available pages before exploring further.
V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.
Overview
Update an existing team member’s profile, password, or permissions. All fields are optional — only provided fields are updated.
Use Cases
- Update a team member’s permissions as their role changes
- Reset a team member’s password
- Correct profile information
Path Parameters
The team member’s user ID.
Request Body
Updated email address. Must be a valid email format.
New password. Minimum 6 characters, maximum 100 characters.
First name. Maximum 100 characters.
Last name. Maximum 100 characters.
Phone number. Maximum 50 characters.
Updated array of permission strings. Replaces the existing permissions entirely.
Response
{
"success": true,
"data": {
"_id": "665a1b2e3d98f0001a2b3c81",
"email": "bob@example.com",
"profile": {
"firstName": "Bob",
"lastName": "Smith",
"phone": "+15125559876"
},
"apiPermissions": [
"orders:read",
"orders:write",
"fulfillments:write"
],
"updatedAt": "2026-05-19T14:00:00.000Z"
}
}
Example
curl -X PUT "https://staging-api.puppetvendors.com/settings/team/665a1b2e3d98f0001a2b3c81" \
-H "x-access-token: YOUR_VENDOR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"apiPermissions": ["orders:read", "orders:write", "fulfillments:write"]
}'