How to delete company by REST API B2B Magento?

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.

Action: DELETE

URL: <HOST_URL>/rest/<store>/V1/company/<COMPANY_ID>

Here COMPANY_ID is the valid company id to delete.

HEADER: Authorization:Bearer <ADMIN_TOKEN>

Request Payload: none

Response: Boolean value true/false.