---
title: "Set active team"
method: PUT
path: "/api/user/teams/active"
tags: ["Teams"]
---

# Set active team

`PUT /api/user/teams/active`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/user/teams/active`
- Auth: API key in cookie `hk_token`

Sets the current active team context for the authenticated user.

## Request body

- object
  - `team_id` string, uuid, required

## Response `200`

Active team response

- TeamActiveResponse
  - `active_team_id` string, uuid
  - `recent_team_ids` string[]
  - `status` string

## Other responses

- `403`: Access denied

---

[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)
