{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Delete a single company.\n\nThe company record is kept in your workspace, but all contacts are detached. The contacts themselves are not deleted. Detaching contacts is permanent and can't be reversed. These changes may take some time to be reflected in your workspace.\n\nThe response returns `\"deleted\": true` as soon as the request is accepted; the contacts are detached in the background. A `company.deleted` webhook is sent after that work finishes, so it arrives some time after the response. No webhook is sent for a company that has no contacts attached, because there is nothing to detach.\n\n{% admonition type=\"warning\" %}\nThird-party integrations that sync companies into Intercom (for example, Salesforce or Chargebee) will recreate any company deleted through this endpoint on their next sync. To prevent recreation, remove or filter the company at the source integration before deleting it via the API.\n{% /admonition %}\n\nRequires the `write_users_companies` OAuth scope.\n","properties":{"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"path":{"type":"object","properties":{"company_id":{"type":"string","examples":["5f4d3c1c-7b1b-4d7d-a97e-6095715c6632"],"description":"The unique identifier for the company which is given by Intercom"}},"required":["company_id"],"additionalProperties":false}},"required":["path"],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]}}},"name":"Delete a company","id":"intercom.deletecompany","example":{"path":{"company_id":"5f4d3c1c-7b1b-4d7d-a97e-6095715c6632"}},"maxRequests":1,"summary":false}}