---
title: "Edit the account status of a respondent"
method: PUT
path: "/respondents/edit-account-status/{party_id}"
tags: ["respondents"]
---

# Edit the account status of a respondent

`PUT /respondents/edit-account-status/{party_id}`

Locks and unlocks a respondent's account, notifying them where appropriate

## Path parameters

- `party_id` string, uuid, required

## Request body

- object
  - `status` 'CREATED' | 'ACTIVE' | 'SUSPENDED' — The new status of the account

## Response `200`

The account status has been changed

## Other responses

- `400` — The request body was missing status
- `404` — The respondent does not exist
- `500` — There was an error in the auth service

---

[API](https://skmtc.net/office-of-national-statistics/apis/party-service-api.md) · [All operations](https://skmtc.net/office-of-national-statistics/apis/party-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/office-of-national-statistics/party-service-api/revisions/a9abfd072409/schema)
