---
title: "Delete experts who never sent the contract"
method: POST
path: "/api/operator-onboardings/contracts/delete"
tags: ["operator-onboardings"]
---

# Delete experts who never sent the contract

`POST /api/operator-onboardings/contracts/delete`

## Request

- Base URL: `https://api.corabea.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.corabea.it/api/operator-onboardings/contracts/delete`
- Auth: HTTP bearer

Permanently deletes the selected experts still in the contract phase with nothing in their documents folder: account, operator and onboarding rows, Keycloak login, storage folder. 409 naming them when any of them sent something; nothing is deleted then.

## Request body

- ContractDeleteRequest: Contratti cards to delete: experts in the contract phase who never sent anything.
  - `operator_ids` string[], required

## Response `200`

Successful Response

- ContractDeleteResponse
  - `deleted` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-13** `ba4fd778fe80`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/corabea/apis/corabea-api/changes/api/operator-onboardings/contracts/delete/post.md)

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/corabea/apis/corabea-api/revisions/64c5370369f5?raw)
