---
title: "Update a contact's last name"
method: PATCH
path: "/contacts/{contactId}/lastname/{lastname}"
tags: ["contacts"]
---

# Update a contact's last name

`PATCH /contacts/{contactId}/lastname/{lastname}`

Updates the <em>lastname</em> of the specified contact. The new last name is passed directly in the URL path.

**Permission:** `Contacts Write` required.

**Monitoring:** No impact.

## Path parameters

- `contactId` integer, required
- `lastname` string, required

## Response `200`

Last name successfully updated.

## Other responses

- `304` — Contact was not modified — last name unchanged.
- `401` — Unauthorized — missing or invalid API token, or missing `Contacts Write` permission.
- `404` — Contact not found — no contact matches the provided ID.
- `500` — Internal server error.

---

[API](https://skmtc.net/ringover/apis/ringover-public-api.md) · [All operations](https://skmtc.net/ringover/apis/ringover-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ringover/ringover-public-api/revisions/9da73dd2f99e/schema)
