---
title: "Archive team (admin)"
method: POST
path: "/api/admin/teams/{id}/archive"
tags: ["Admin"]
---

# Archive team (admin)

`POST /api/admin/teams/{id}/archive`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/admin/teams/{id}/archive`
- Auth: API key in cookie `hk_token`

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

## Path parameters

- `id` string, uuid, required

## Response `200`

Status

- Status
  - `message` string
  - `status` string

## Other responses

- `400`: The default team cannot be archived, or the team is not found or already archived

---

[API](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api.md) · [All operations](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/revisions/bb2df36ab2a4?raw)
