Update Member
Update a team member's role or permissions.
team.manage
PUT
/v1/team/:userIdRequest Body
| Parameter | Type | Description |
|---|---|---|
| role | string | New role: admin, editor, or viewer |
| permissions | string[] | Updated permissions array |
Example Request
curl
curl -X PUT "https://proforms.io/api/v1/team/u_editor1" \
-H "Authorization: Bearer pf_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"role": "admin",
"permissions": null
}'Response
200 OK
{
"success": true,
"data": {
"id": "u_editor1",
"role": "admin",
"permissions": null,
"updatedAt": "2026-02-17T11:00:00.000Z"
}
}