---
title: "Delete company by Id"
method: DELETE
path: "/1.0/companies/{companyId}"
tags: ["Companies"]
---

# Delete company by Id

`DELETE /1.0/companies/{companyId}`

## Request

- Base URL: `https://api.rocketlane.com/api`
- URL: `https://api.rocketlane.com/api/1.0/companies/{companyId}`
- Auth: API key in header `api-key`
- TypeScript: <https://skmtc.dev/rocketlane/apis/rocketlane-api/docs/1.0/companies/:companyId/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `companyId` integer, required

## Response `204`

The resource was successfully removed from the database.

- string

## Other responses

- `400`: This error typically happens when the request payload contains an error. If you want to make sure that the request's parameters are named correctly and are the right data types, you can examine the request's syntax.
- `401`: You see this error when trying to access this resource without being authenticated. Check the API request header to make sure it is not empty and has a valid api-key that you acquired from the Rocketlane API Settings tab.
- `404`: If we were unable to locate the resource you were looking for or the proper API endpoint you were looking for, this error would show up.
- `500`: This error denotes that there is an error that occured within our servers. The response body could help narrow down the cause for the error by our support team.

## Changes

- **2026-11-03** `a002a499e6fc`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rocketlane/apis/rocketlane-api/changes/1.0/companies/:companyId/delete.md)

---

[API](https://skmtc.dev/rocketlane/apis/rocketlane-api.md) - [All operations](https://skmtc.dev/rocketlane/apis/rocketlane-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rocketlane/apis/rocketlane-api/revisions/a002a499e6fc?raw)
