intercom-php icon indicating copy to clipboard operation
intercom-php copied to clipboard

Delete company

Open csandanov opened this issue 6 years ago • 4 comments

I see the method in API reference but there's no method in PHP SDK

csandanov avatar Jun 15 '18 12:06 csandanov

Hi @csandanov 👋

Actually, our API does not support deleting companies (even though there is a menu item, it only specifies that there is no such endpoint at the moment): https://developers.intercom.com/intercom-api-reference/reference#delete-a-company

I'll close this issue, but please feel free to reopen if you found it somewhere else and I'll check it for you.

GabrielAnca avatar Aug 31 '18 14:08 GabrielAnca

@GabrielAnca I came across this issue while looking for delete in this SDK as well since it is in the API docs as a DELETE request currently: https://developers.intercom.com/intercom-api-reference/reference#delete-a-company

davidstoker avatar Oct 02 '20 18:10 davidstoker

Hi @davidstoker it is indeed possible to delete a company via the API since from API version 2.0 onwards. I'll reopen this issue 😃

Feel free to open a PR adding that functionality if it's urgent for you 🙌

GabrielAnca avatar Oct 06 '20 12:10 GabrielAnca

I've created a PR for this now, see #340

emilsundberg avatar Mar 03 '21 12:03 emilsundberg