---
title: "Delete legal arrangements"
method: POST
path: "/deleteLegalArrangements"
tags: ["Verification"]
---

# Delete legal arrangements

`POST /deleteLegalArrangements`

Deletes legal arrangements and/or legal arrangement entities associated with an account holder.

## Request body

- DeleteLegalArrangementRequest
  - `accountHolderCode` string, required — The code of the account holder.
  - `legalArrangements` LegalArrangementRequestWrapper[], required — List of legal arrangements.
    - `LegalArrangementRequest` LegalArrangementRequest
      - `legalArrangementCode` string, required — The code of the legal arrangement to be deleted. If you also send `legalArrangementEntityCodes`, only the entities listed will be deleted.
      - `legalArrangementEntityCodes` string[] — List of legal arrangement entities to be deleted.

## Response `200`

OK - the request has succeeded.

- GenericResponse
  - `pspReference` string — The reference of a request. Can be used to uniquely identify the request.
  - `resultCode` string — The result code.
  - `submittedAsync` boolean — Indicates whether the request is processed asynchronously. Depending on the request's platform settings, the following scenarios may be applied: * **true**: The request is queued and will be executed when the providing service is available in the order in which the requests are received. * **false**: The processing of the request is immediately attempted; it may result in an error if the providing service is unavailable.

## Other responses

- `202` — Accepted - the request has been accepted for processing, but the processing has not been completed.
- `400` — Bad Request - a problem reading or understanding the request.
- `401` — Unauthorized - authentication required.
- `403` — Forbidden - insufficient permissions to process the request.
- `422` — Unprocessable Entity - a request validation error.
- `500` — Internal Server Error - the server could not process the request.

## Changes

- **2023-04-12** (v3) `9371f31bd06c` — 1 breaking, 2 warning, 1 info
  - the `legalArrangements/items/` request property type/format changed from `object`/`` to ``/``
  - removed the request property `legalArrangements/items/legalArrangementCode`
  - removed the request property `legalArrangements/items/legalArrangementEntityCodes`
  - added the new optional request property `legalArrangements/items/LegalArrangementRequest`
- **2023-03-22** (v3) `a6068822877c` — 9 breaking
  - the request's body type/format changed from ``/`` to `object`/``
  - the `legalArrangements/items/` request property type/format changed from ``/`` to `object`/``
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - the response's body type/format changed from ``/`` to `object`/`` for status `202`
  - …5 more
- **2022-09-02** (v3) `8135ba520b88` — 1 info
  - endpoint added
- **2020-03-04** (v3) `e778c70d4393` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/adyen/apis/accountservice/changes/deleteLegalArrangements/post.md)

---

[API](https://skmtc.dev/adyen/apis/accountservice.md) · [All operations](https://skmtc.dev/adyen/apis/accountservice/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adyen/accountservice/revisions/5896dea74c98/schema)
