Skip to content
Start in Cloud

Archive team (admin)

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

Archives a non-default team from the instance admin surface after its sites have been moved or deleted.

id
required
string format: uuid

Status

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

The default team cannot be archived, or the team is not found or already archived

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