---
title: "Update team API key"
method: PATCH
path: "/team-api-keys/{api_key_id}"
tags: ["API Keys"]
---

# Update team API key

`PATCH /team-api-keys/{api_key_id}`

Update an team API key

## Path parameters

- `api_key_id` string, required

## Request body

- object
  - `description` string
  - `revoked` boolean

## Response `200`

Successful response

- object
  - `id` string, required
  - `description` string, required
  - `expires_at_millis` number
  - `manually_revoked_at_millis` number
  - `created_at_millis` number, required
  - `is_public` boolean, required
  - `value` object, required
    - `last_four` string, required
  - `type` 'team', required
  - `team_id` string, required

## Changes

- **2026-05-15** `f6aec844c9f2` — 1 warning
  - added the new `team` enum value to the `type` response property for the response status `200`

[Change history](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3/changes/team-api-keys/:api_key_id/patch.md)

---

[API](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3.md) · [All operations](https://skmtc.dev/hexclave/apis/hexclave-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hexclave/hexclave-rest-api-3/revisions/3ced76bb7fd8/schema)
