---
title: "Keyless Update Agent"
method: PATCH
path: "/v1/x402/agents"
tags: ["x402 Keyless"]
---

# Keyless Update Agent

`PATCH /v1/x402/agents`

## Request

- Base URL: `https://api.agentline.cloud`
- URL: `https://api.agentline.cloud/v1/x402/agents`
- Auth: none declared

Update your wallet's voice-agent tone/voice (agent access token; prepaid balance).

Only provided fields change — mirrors classic PATCH /v1/agents.
Applies to all future calls (inbound and outbound).

## Query parameters

- `lease_token` string, nullable

## Headers

- `authorization` string, nullable

## Request body

- KeylessAgentUpdate: Partial agent update — only provided fields change (mirrors classic PATCH /v1/agents).
  - `agent_name` string, nullable
  - `system_prompt` string, nullable
  - `initial_greeting` string, nullable
  - `voice_id` string, nullable
  - `transfer_number` string, nullable
  - `voicemail_message` string, nullable
  - `owner_phone` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: Agent access token required
- `422`: Validation Error

---

[API](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents.md) · [All operations](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/revisions/18c0bdbb4b30?raw)
