Skip to main content
DELETE
/
api
/
company
/
{company_uid}
/
member
/
{user_id}
Remove company member
curl --request DELETE \
  --url https://dev.exante.app/api/company/{company_uid}/member/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "status_code": 200,
  "message": "Success",
  "data": {}
}
Removes a member from a company.
When a member is removed from a company, the API also removes that user from all organizations that belong to the company and deletes any user_role_in_organization rows for those organizations. No organization-level last-member or last-owner safety checks block this cleanup.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

company_uid
string<uuid>
required

Company UID

user_id
integer
required

User ID to remove

Response

Member removed

status
string
Example:

"success"

status_code
integer
Example:

200

message
string
Example:

"Success"

data
object

Optional payload included by endpoints that use the standard success wrapper.