Skip to content
☁️ HitKeep Cloud is live. Choose EU or US and start now →

Delete archived team

DELETE
/api/admin/teams/{id}

Permanently deletes a non-default team and removes its per-tenant analytics database directory. With ?force=true, automatically deletes all sites, archives the team, and then purges it in a single operation. Without force, the team must already be archived with no sites.

id
required
string format: uuid
force
boolean

When true, deletes all team sites and archives the team before purging. Members are moved to the default team.

Delete archived team response

object
name
string
status
string
team_id
string format: uuid

Archive the team first, and ensure it has no sites

object
message
string

Team not found

object
message
string