awork icon

awork

Automate your workflows with the awork API

Actions110

Company → Delete Company

AI-generated

Summary

Delete a company in aWork by specifying its ID and selecting the desired deletion method, optionally moving related objects to another company.

Inputs

  • Company ID (required) — The ID of the company to delete.
  • Delete Operation (required) — Method of deleting the company; choose to delete only the company, delete all except time entries, delete all, or move related objects.
  • Move to Company ID (required) — If moving related objects, the ID of the target company to which they should be reassigned.

Output shape

a single response object indicating the result of the deletion operation

The output depends on the selected deletion method and shows the API's response to the delete request. No pagination applies.

Examples

Example 1: Delete only a company specified by its ID without affecting related objects.

Set Company ID and choose 'Delete Only Company' as Delete Operation.

Example 2: Delete a company and all its associated data except time entries.

Set Company ID and choose 'Delete All Except Time Entries'.

Example 3: Delete a company along with all its associated data including time entries.

Set Company ID and choose 'Delete All'.

Links

Discussion