Deletes the company with the specified id.

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

companyIdUUIDRequired

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
moveToCompanyUUID or nullOptional

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’.

deleteOperationstring or nullOptional

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.

Response

No Content