---
title: "Disable all enrolments for a respondent"
method: PATCH
path: "/respondents/disable-user-enrolments"
tags: ["respondents"]
---

# Disable all enrolments for a respondent

`PATCH /respondents/disable-user-enrolments`

## Request

- Base URL: `https://localhost:8081`
- URL: `https://localhost:8081/respondents/disable-user-enrolments`
- Auth: none declared

Disable all enrolments for a respondent

## Request body

- object
  - `email` string, email: The email of the respondent

## Response `200`

The enrolments have been disabled

## Other responses

- `400`: The request body was missing an email
- `404`: The respondent does not exist
- `422`: Multiple respondents were found with that email

---

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