592 B
592 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 |
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.