---
title: "Update a respondent's details"
method: PUT
path: "/respondents/id/{id}"
tags: ["respondents"]
---

# Update a respondent's details

`PUT /respondents/id/{id}`

## Request

- Base URL: `https://localhost:8081`
- URL: `https://localhost:8081/respondents/id/{id}`
- Auth: none declared

Update a respondent's details

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `firstName` string: The first name of the respondent
  - `lastName` string: The last name of the respondent
  - `telephone` string: The telephone number of the respondent

## Response `200`

The respondent has been updated

## Other responses

- `400`: The request body was missing firstName, lastName or telephone
- `404`: The respondent does not exist
- `409`: The email address is already in use

---

[API](https://skmtc.dev/office-of-national-statistics/apis/party-service-api.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/party-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/party-service-api/revisions/49a2e83bb1a7?raw)
