---
title: "Update"
method: PATCH
path: "/v1/platform/keys/update/{key_id}"
tags: ["platform:keys"]
---

# Update

`PATCH /v1/platform/keys/update/{key_id}`

## Request

- Base URL: `https://api.intura.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.intura.co/v1/platform/keys/update/{key_id}`
- Auth: none declared

## Path parameters

- `key_id` string, uuid, required

## Request body

- UpdateKeyRequest: Rename, or change the expiry. No field re-issues the secret: rotation is create-then-revoke, so a running device can be cut over rather than broken. `expires_at: null` clears the expiry, which is why the patch is built from `model_fields_set` rather than from the values.
  - `name` string, nullable
  - `expires_at` string, date-time, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/intura/apis/intura-ai-api.md) - [All operations](https://skmtc.dev/intura/apis/intura-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/intura/apis/intura-ai-api/revisions/7cb6af4c6390?raw)
