Skip to content
Start in Cloud

Delete archived team

DELETE
/api/admin/teams/{id}
curl --request DELETE \
--url https://hitkeep.com/api/admin/teams/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--cookie hk_token=<hk_token>

Permanently deletes an archived non-default team and removes its per-tenant analytics database directory.

id
required
string format: uuid

Delete archived team response

Media type application/json
object
name
string
status
string
team_id
string format: uuid
Example generated
{
"name": "example",
"status": "example",
"team_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Archive the team first, and ensure it has no sites

Media type application/json
object
message
string
Example generated
{
"message": "example"
}

Team not found

Media type application/json
object
message
string
Example generated
{
"message": "example"
}