post https://api.lucid.co/teams//archive
Archives a given team, provided the authenticated user has edit access to that team. Additional teams may be archived by using admin permissions (see below).
The teams which can be archived 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