---
title: "Update agent (name, email, phone, is_active)"
method: PATCH
path: "/api/admin/agents/{id}"
tags: ["Admin"]
---

# Update agent (name, email, phone, is_active)

`PATCH /api/admin/agents/{id}`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/admin/agents/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- UpdateAgentDto
  - `name` string
  - `email` string
  - `phone` string
  - `is_active` boolean

## Response `200`

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
