# Company remove member

You can remove an employee (a user) added to the company.

POST /companies/:id/remove_member/

Attributes Type Required Description
id integer yes A unique identifier for the company which is given by User.com automatically.
user_id integer yes A unique identifier for the user which is given by User.com automatically.
user_custom_id string yes The unique identifier for the user which is provided by the client.

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
curl -X POST -H "Authorization: Token <your_64_char_api_key>" -H "Content-Type: application/json" 
       -H "Accept: */*; version=2" -d '{
      "user_id": 1
    }' "https://<your_app_subdomain>.user.com/api/public/companies/:id/remove_member/"

# Response

HTTP 202 Accepted