---
title: "Update Agent Client Key"
method: PATCH
path: "/agents/{agentId}/client-keys/{clientKey}"
tags: ["Client Keys"]
---

# Update Agent Client Key

`PATCH /agents/{agentId}/client-keys/{clientKey}`

Update a client key scoped to a specific agent

## Path parameters

- `agentId` string, required
- `clientKey` string, required

## Request body

- UpdateResourceClientKeyDto
  - `allowed_domains` string[]
  - `name` string

## Response `204`

OK

## Other responses

- `404` — NotFound

---

[API](https://skmtc.net/d-id/apis/realtime-endpoints.md) · [All operations](https://skmtc.net/d-id/apis/realtime-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/d-id/realtime-endpoints/versions/2f2425e1b6b6/schema)
