Files
dashback/docs/api/routes/company/delete.md
2026-10-28 00:08:02 +01:00

682 B

DELETE /company/{id}

Protected. Requires a valid session cookie (credentials: 'include').

Delete company

Deletes a company.

Path parameters

Param Required Type Description
id yes integer

Signals

On success, emits SSE signal: company (see GET /events).

Response 204

Deleted

No content

Errors

Status Description
400 Invalid id — {"error":"…"}
401 Unauthorized — {"error":"…"}
500 Server error — {"error":"…"}

Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.