What this call does
Deletes several construction sites at once. The body is a plain list of site ids.
Last updated: 15.05.2026
What you need first
- A valid API key in the
API-Keyheader. - Your
companyAccountIdas a query parameter. There is no default for it. - The CATHAGO
idof every site you want gone. There is no way to delete byexternalProjectId. - Certainty. There is no undo and no confirmation step.
Parameters
Parameter | Required | Default | Meaning |
|---|---|---|---|
| Yes | none | Your company account. Sites belonging to anyone else are simply not found. |
There is no mode parameter on this call.
The fields
The body is not an object. It is a list of text ids:
Field | Type | Required | Default | Meaning |
|---|---|---|---|---|
(the list itself) | list of text | No | none | CATHAGO ids of the sites to delete. An empty list |
An id that does not exist, or that belongs to another company account, is not reported. It is simply not deleted.
What you get back
204 No Content with an empty body.
204 does not mean the sites were there. The same 204 comes back whether you named ten real sites, ten unknown ids, or none at all. Check afterwards with Look up one site if it matters.Common mistakes
What you see | Why | What to do |
|---|---|---|
| The id was wrong, or the site belongs to another company account | Verify each id with Look up one site first. |
| You sent | Put the ids in the list. |
The call is refused | You sent objects, | Send |
| The site is still referenced by other records | Clear those records first, or archive the site with |
| Key missing, unknown, switched off or expired | Keys are per environment; a staging key fails in production. |
| No | Add |
| The | Strip the comments. |
Adresse
DELETE https://api.cathago.de/api/gateways/integration/projects/bulk?companyAccountId=<companyAccountId>Beispielaufruf
curl -X DELETE 'https://api.cathago.de/api/gateways/integration/projects/bulk?companyAccountId=<companyAccountId>' \
-H 'API-Key: <Ihr API-Schlüssel>' \
-H 'Content-Type: application/json' \
-d '[
"C0226021180772794",
"C0226022313402373"
]'Beispiel für den Body
[
"C0226021180772794", // Cathago id of a site. The body is a plain list of ids, nothing else
"C0226022313402373" // Second site. An id that is not yours is skipped without a word
]Beispielantworten
Bulk Delete - Projects
Status: 204 No Content