---
title: "PATCH /accounts/passkeys/{id}/"
method: PATCH
path: "/accounts/passkeys/{id}/"
tags: ["accounts"]
---

# PATCH /accounts/passkeys/{id}/

`PATCH /accounts/passkeys/{id}/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/accounts/passkeys/{id}/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

PATCH/DELETE /accounts/passkeys/<uuid:pk>/ - Rename or delete.

## Request body

- PasskeyRename
  - `name` string, required

## Response `200`

OK

- PasskeyRenameResponse
  - `id` string, uuid, required
  - `name` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
