Remove contact from a company

You can remove a contact from a company

     

Request Path Parameters
Parameter Type Required Description
org_id number Yes The unique identifier of your organization
contact_id number Yes The unique identifier of the contact
company_id number Yes The unique identifier of the company

     

Example Request & Response


$ curl https://api.custerem.com/<org_id>/contacts/<contact_id>/companies/<company_id/remove/ \
-X DELETE \
-H 'Authorization: X-API-KEY <Your API Key>' \
-H 'Content-Type: application/json' \

 

200 OK

{
    "message": "Contact removed from company"
}

 

404 Not Found

{
    "status_code": 404,
    "message": "Contact with id 32 not found"
}

 

404 Not Found

{
    "status_code": 404,
    "message": "Company with id 333 not found"
}