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-Key header.
  • Your companyAccountId as a query parameter. There is no default for it.
  • The CATHAGO id of every site you want gone. There is no way to delete by externalProjectId.
  • Certainty. There is no undo and no confirmation step.

Parameters

Parameter

Required

Default

Meaning

companyAccountId

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 [] is accepted and does nothing.

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

204, but the site is still there

The id was wrong, or the site belongs to another company account

Verify each id with Look up one site first.

204, but nothing happened at all

You sent []

Put the ids in the list.

The call is refused

You sent objects, [{"id": "C0226021180772794"}], instead of plain ids

Send ["C0226021180772794", "C0226022313402373"].

406 RESOURCE_IN_USE, Something went wrong!

The site is still referenced by other records

Clear those records first, or archive the site with projectStatus: "ARCHIVED" instead.

403 FORBIDDEN, Invalid ApiKey

Key missing, unknown, switched off or expired

Keys are per environment; a staging key fails in production.

400 REQUEST_PARAMETER_IS_MISSING

No companyAccountId in the address line

Add ?companyAccountId=....

400 REQUIRED_REQUEST_BODY_IS_MISSING

The // comments are still in the body, or the JSON is broken

Strip the comments.

Adresse

HTTP
DELETE https://api.cathago.de/api/gateways/integration/projects/bulk?companyAccountId=<companyAccountId>

Beispielaufruf

Terminal
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

JSON
[
    "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