What this call does

Deletes one construction site.

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 site's id in the address line. Short CATHAGO id or internal uuid, both work.
  • Certainty. There is no undo.

Parameters

Parameter

Required

Default

Meaning

companyAccountId

Yes

none

Your company account. A site belonging to anyone else is reported as not found.

projectId (in the path)

Yes

none

The site to delete.

The fields

This call has no body. Send nothing.

What you get back

204 No Content with an empty body. Unlike the bulk delete, this call checks first: an unknown site comes back as an error rather than a quiet 204.

Common mistakes

What you see

Why

What to do

406 PROJECT_NOT_FOUND, Project with ID... not found or you don't have permission!

The id is unknown, or the site belongs to another company account

Check the id and the companyAccountId. Both cases give the same answer on purpose.

406 RESOURCE_IN_USE, Something went wrong!

The site is still referenced by other records

Clear those records, or archive the site instead.

You wanted to hide the site, not lose it

Deleting is final; archiving is not

Send projectStatus: "ARCHIVED" through Update one site or the bulk call.

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=....

Adresse

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

Beispielaufruf

Terminal
curl -X DELETE 'https://api.cathago.de/api/gateways/integration/projects/:projectId?companyAccountId=<companyAccountId>' \
  -H 'API-Key: <Ihr API-Schlüssel>'

Beispielantworten

Delete Project

Status: 204 No Content