Remove a member
DELETE
/company/users/{userId} Removes access to the company; the account itself is not deleted. You cannot remove yourself, and the last OWNER cannot be removed.
Path parameters
-
userIdstring required
Headers
-
Idempotency-KeystringReplays the same 2xx response (24 h)
Response
200
Member removed
-
successboolean always present
Errors
- 400
Entry refused
cannot_remove_self - 401
Not authenticated
- 403
Insufficient scope/role, or outside your company
- 404
This user is not a member of the company
not_found - 409
Last OWNER of the company
last_owner