This endpoint permanently deletes a company and its associated data. When a company is deleted:
- All company memberships are automatically removed
- The company’s attributes and relationships are permanently deleted
- The operation cannot be reversed
Path parameters
The unique identifier of the company to delete. This should match the ID format used in your system (e.g., comp_123456789).
Response
Returns a confirmation object indicating the successful deletion of the company.
The unique identifier of the deleted company.
String representing the object’s type. Always set to "company".
Indicates the success of the deletion operation. Always true when the request succeeds.
curl https://api.usertour.io/v1/companies/comp_123456789 \
-X DELETE \
-H 'Authorization: Bearer ak_123456789' \
-H 'Content-Type: application/json'
{
"id": "comp_123456789",
"object": "company",
"deleted": true
}