Skip to main content
POST/companies-by-id/:custom_id/remove_member/

Company remove member by id

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

AttributesTypeRequiredDescription
custom_idstringyesThe unique identifier for the company which is provided by the client.
user_idintegeryesA unique identifier for the user which is given by User.com automatically.
user_custom_idstringyesThe unique identifier for the user which is provided by the client.

Request​

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-by-id/:custom_id/remove_member/"

Response​

HTTP 202 Accepted