Deletes the company with the specified id.

POST

There are several ways to delete a company. Look into the property description of the post model to get detailed information. If the post is executed without a model, the default process ‘delete-only-company’ will be executed. For the operation ‘delete-all-without-timeentries’ project-master-data write permissions are required on all projects of the company.

Required Permissions: The user must be an admin or have company-master-data:write permissions.

Path parameters

companyIdstringRequired

Request

This endpoint expects an object.
moveToCompanystringOptional

Moves all related objects to this company. Related projects and tasks (including their time entries) will be connected to this company. Have to set if ‘DeleteOperation’ contains ‘move’.

deleteOperationstringOptional

Defines the operation to delete a company. Possible operations are ‘move’: Move related objects to another company. ‘delete-only-company’: Delete only the company. Related objects loose the company information. ‘delete-all-without-timeentries’: Delete all related objects apart from time entries. ‘delete-all’: Delete all.