Skip to main content
DELETE
/
companies
/
{id}
Delete company
curl --request DELETE \
  --url https://productlane.com/api/v1/companies/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>"
}

Delete Company

Delete a company by its ID. This action cannot be undone and will remove all associated data.

Path Parameters

id
string
required
Unique identifier of the company to delete

Response

success
boolean
Indicates whether the deletion was successful
message
string
Confirmation message

Example Request

DELETE /api/v1/companies/comp_123456789

Example Response

{
  "success": true,
  "message": "Company deleted successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Successful response

success
boolean
required
message
string
required