Member by ID API
Update or remove an individual team member from your organization.
PUT /members/{id}
Update a member's details such as name, email, or role.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Member identifier (path parameter) |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
first_name | string | Yes | Updated first name |
last_name | string | Yes | Updated last name |
email | string | Yes | Updated email address |
role | string | Yes | Organization-level role: admin, editor, or viewer |
{
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com",
"role": "admin"
}
Response
204 No Content
Example
curl -X PUT "https://api.leadvibe.com/members/mem_abc123" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com",
"role": "admin"
}'
Common Errors
| Status | Meaning | Solution |
|---|---|---|
| 400 | Bad Request | Check required fields and valid role value |
| 401 | Unauthorized | Check authentication credentials |
DELETE /members/{id}
Remove a member from the organization. This action cannot be undone.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Member identifier (path parameter) |
Response
204 No Content
Example
curl -X DELETE "https://api.leadvibe.com/members/mem_abc123" \
-H "Authorization: Bearer <token>"
Common Errors
| Status | Meaning | Solution |
|---|---|---|
| 401 | Unauthorized | Check authentication credentials |
| 500 | Server Error | Member may not exist or may be the last admin |
Notes
- Removing a member revokes their access across all Organizational Units
- Consider updating a member's role to
viewerinstead of deleting if you want to preserve their audit history
Related Endpoints
- Members - List and create members
- Organization Units - Manage OU memberships