---
title: "Set or clear the human-friendly label on a pooled credential"
method: PATCH
path: "/api/keys/name"
tags: ["API Keys"]
---

# Set or clear the human-friendly label on a pooled credential

`PATCH /api/keys/name`

## Request body

- object
  - `keyType` string, required
  - `keySuffix` string, required
  - `name` string, nullable, required
  - `scope` string
  - `scopeId` string

## Response `200`

Name updated

- object
  - `success` true, required
  - `keyType` string, required
  - `keySuffix` string, required
  - `name` string, nullable, required

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `404` — Key not found

---

[API](https://skmtc.net/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.net/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/versions/0375890be8c4/schema)
