You can delete the company in adobe commerce using REST API.
You must require a valid company id to delete a specific company from the Magento store.
When you delete a company, all the customers of the company status change to “Inactive” and also remove company id from the customer profiles related to the company.
