---
title: "Update an agent's password"
method: PUT
path: "/agents/{id}/password"
tags: ["Agent"]
---

# Update an agent's password

`PUT /agents/{id}/password`

Update an agent's password and return updated details.

## Path parameters

- `id` string, required

## Request body

- object
  - `password` string

## Response `200`

Successful response.

- AgentManagerAgent — Represents an agent resource.
  - `id` string, uuid — The unique identifier of the agent.
  - `customer_id` string, uuid — The unique identifier of the customer who owns this agent. Returned from the `GET /customers` response.
  - `username` string — Agent's login username, typically an email address.
  - `name` string — Display name of the agent.
  - `detail` string — Additional detail or notes about the agent.
  - `ring_method` 'ringall' | 'linear' — Method used to ring the agent for incoming calls.
  - `status` '' | 'available' | 'away' | 'busy' | 'offline' | 'ringing' — Current availability status of the agent.
  - `permission` 0 | 65535 | 1 | 15 | 16 | 32 | 64 | 240 — Permission type
  - `tag_ids` string[] — List of tag IDs assigned to this agent. Returned from the `POST /tags` or `GET /tags` response.
  - `addresses` CommonAddress[] — Agent's endpoint addresses for receiving calls.
    - `type` '' | 'agent' | 'conference' | 'email' | 'extension' | 'line' | 'sip' | 'tel' | 'web_session' — Type of address.
    - `target` string — The address endpoint. Format depends on type: phone number for tel (e.g. +14155551234), UUID for agent/conference/extension, email for email, SIP URI for sip.
    - `target_name` string — Address's name.
    - `name` string — Optional label for this address.
    - `detail` string — Additional notes about this address.
  - `direct_hash` string — The direct hash for direct access via SIP URI sip:<direct_hash>@sip.voipbin.net (the "direct." prefix is already included in the value, e.g. "direct.a1b2c3d4e5f6"). Returned from the resource's `direct_hash` field.
  - `tm_create` string, date-time — Timestamp when the agent was created.
  - `tm_update` string, date-time — Timestamp when the agent was last updated.
  - `tm_delete` string, date-time — Timestamp when the agent was deleted.

## Other responses

- `400` — Invalid request (INVALID_ARGUMENT).
- `401` — Authentication required (UNAUTHENTICATED).
- `403` — Insufficient permission (PERMISSION_DENIED).
- `404` — Resource not found (NOT_FOUND).
- `500` — Internal error (INTERNAL).

---

[API](https://skmtc.net/voipbin/apis/voipbin-api.md) · [All operations](https://skmtc.net/voipbin/apis/voipbin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voipbin/voipbin-api/versions/79e779080bcc/schema)
