post https://api.lucid.co/teams//users/remove
Removes users from a given team, provided the authenticated user has edit access to that team. Users may be removed from additional teams by using admin permissions (see below).
The teams from which users can be removed depend on whether the request is made using user or admin permissions.
- User: team must be one that the requesting user has edit access to
- Must request with a user grant/scope and either omit the header
Lucid-Request-As
or contain the valueuser
.- Admin: team must belong to the account
- Must request with an admin grant/scope and contain the header
Lucid-Request-As
with valueadmin
.
Valid Authentication Methods
API Key Grants:
TeamsEdit
TeamsAdmin
OAuth 2.0 User Token Scopes:
teams
teams:admin