Skip to main content

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

ParameterTypeRequiredDescription
idstringYesMember identifier (path parameter)

Request Body

FieldTypeRequiredDescription
first_namestringYesUpdated first name
last_namestringYesUpdated last name
emailstringYesUpdated email address
rolestringYesOrganization-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

StatusMeaningSolution
400Bad RequestCheck required fields and valid role value
401UnauthorizedCheck authentication credentials

DELETE /members/{id}

Remove a member from the organization. This action cannot be undone.

Request

ParameterTypeRequiredDescription
idstringYesMember identifier (path parameter)

Response

204 No Content

Example

curl -X DELETE "https://api.leadvibe.com/members/mem_abc123" \
-H "Authorization: Bearer <token>"

Common Errors

StatusMeaningSolution
401UnauthorizedCheck authentication credentials
500Server ErrorMember 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 viewer instead of deleting if you want to preserve their audit history