---
title: "PUT /_twake/addressbook/{id}"
method: PUT
path: "/_twake/addressbook/{id}"
tags: ["Addressbook"]
---

# PUT /_twake/addressbook/{id}

`PUT /_twake/addressbook/{id}`

Update a contact

## Request body

- ContactUpdatePayload
  - `display_name` string
  - `active` boolean

## Response `200`

Contact

- Contact
  - `id` string
  - `mxid` string
  - `display_name` string
  - `active` boolean
  - `addressbook_id` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Contact not found
- `429` — Too many requests
- `500` — Internal server error

## Changes

- **2025-02-26** `1ffa0820824e` — 1 info
  - endpoint added
- **2024-01-09** `c7a6d3a400a7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/changes/_twake/addressbook/:id/put.md)

---

[API](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation.md) · [All operations](https://skmtc.dev/linagora/apis/twake-on-matrix-apis-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/linagora/twake-on-matrix-apis-documentation/revisions/3428c7bb5a46/schema)
