Companies
Remove a contact from a company
Removes a contact (customer) from a company.
Removes the company from the contact's companyIds array and embedded companies array.
Also decrements the linkedUsers count on the company.
Path Parameters
id- The Featurebase internal ID of the company (MongoDB ObjectId)contactId- The Featurebase internal ID of the contact to remove (MongoDB ObjectId)
Response
Returns the updated contact object with the company removed.
Example Response
{
"object": "contact",
"id": "507f1f77bcf86cd799439012",
"userId": "usr_12345",
"email": "john@acme.com",
"name": "John Doe",
"type": "customer",
"companies": []
}Error Responses
- 400 Bad Request - Contact is not attached to this company
- 404 Not Found - Company or contact does not exist
Version Availability
This endpoint is only available in API version 2026-01-01.nova and newer.
Response
application/json
Success
Profile picture URL
Example:
https://fb-usercontent.fra1.cdn.digitaloceanspaces.com/anon_23.png