# Delete a company Deletes a company by its Featurebase ID. This will also remove the company from all linked users' associations. ### Path Parameters - id - The Featurebase internal ID of the company (MongoDB ObjectId) ### Response Returns a deletion confirmation object: json { "id": "507f1f77bcf86cd799439011", "object": "company", "deleted": true } ### Error Responses - 404 Not Found - Company with the specified ID does not exist ### Version Availability This endpoint is only available in API version 2026-01-01.nova and newer. Endpoint: DELETE /v2/companies/{id} Version: 2026-01-01.nova Security: bearerAuth ## Header parameters: - `Featurebase-Version` (string) API version for this request. Defaults to your organization's configured API version if not specified. Example: "2026-01-01.nova" ## Path parameters: - `id` (string, required) The Featurebase internal ID of the company (MongoDB ObjectId) Example: "507f1f77bcf86cd799439011" ## Response 200 fields (application/json): - `id` (string, required) Unique identifier of the deleted company Example: "507f1f77bcf86cd799439011" - `object` (string, required) Object type identifier Enum: "company" - `deleted` (boolean, required) Indicates the resource was deleted Enum: true ## Response 400 fields (application/json): - `error` (object, required) - `error.type` (string, required) The type of error returned Enum: "invalid_request_error" - `error.code` (string, required) Machine-readable error code Enum: "invalid_id" - `error.message` (string, required) Human-readable error message Example: "An error occurred" - `error.param` (string) The parameter that caused the error (if applicable) Example: "id" - `error.status` (number, required) HTTP status code Enum: 400 ## Response 404 fields (application/json): - `error` (object, required) - `error.type` (string, required) The type of error returned Enum: "invalid_request_error" - `error.code` (string, required) Machine-readable error code Enum: "company_not_found" - `error.message` (string, required) Human-readable error message Example: "An error occurred" - `error.param` (string) The parameter that caused the error (if applicable) Example: "id" - `error.status` (number, required) HTTP status code Enum: 404