Files
dashback/docs/api/routes/company/delete.md
2026-10-28 19:31:41 +01:00

691 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 signals: user, 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.