---
title: "Change the enrolment status of a respondent"
method: PUT
path: "/respondents/change_enrolment_status"
tags: ["respondents"]
---

# Change the enrolment status of a respondent

`PUT /respondents/change_enrolment_status`

## Request

- Base URL: `https://localhost:8081`
- URL: `https://localhost:8081/respondents/change_enrolment_status`
- Auth: none declared

Change the enrolment status of a respondent

## Request body

- object
  - `respondent_id` string, uuid: The UUID of the respondent
  - `business_id` string, uuid: The UUID of the business
  - `survey_id` string, uuid: The UUID of the survey
  - `change_flag` 'PENDING' | 'ENABLED' | 'DISABLED' | 'SUSPENDED': The new status of the enrolment

## Response `200`

The enrolment status has been changed

## Other responses

- `400`: The request body was missing respondent_id, business_id, survey_id or change_flag
- `404`: The respondent or survey does not exist

---

[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)
