Delete a company
Example Request & Response
$ curl https://api.intercom.io/companies/<id> \\\n-X DELETE \\\n-H 'Authorization:Bearer <Your access token>' \\\n-H 'Accept:application/json'
Example Errors
Company not found
HTTP/1.1 404 FOUND\n{\n \"type\": \"error.list\",\n \"request_id\": \"9a3d0816-9707-4598-977e-c009ba630148\",\n \"errors\": [\n {\n \"code\": \"not_found\",\n \"message\": \"Company Not Found\"\n }\n ]\n}\n
You can delete a single company.
Request Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id | String | Yes | The unique identifier for the company which is given by Intercom |
Response
This will return an object with details on the deleted company.
Attribute | Type | Description |
---|---|---|
id | String | The unique identifier for the company which is given by Intercom |
object | String | The type of object - company |
deleted | Boolean | Whether the company has been deleted - true |