Teamleader icon

Teamleader

Consume Teamleader API

Actions67

Companies → Delete

AI-generated

Overview

This node operation deletes a company in the Teamleader system by its unique ID. It is useful for automating the removal of company records from Teamleader, for example, when a company is no longer a client or needs to be cleaned up from the database.

Use Case Examples

  1. Automatically delete a company record when it is marked as inactive in another system.
  2. Remove duplicate or outdated company entries from Teamleader via an automated workflow.

Properties

Name Meaning
ID The unique identifier of the company to delete. This is required to specify which company record should be removed.

Output

JSON

  • id - The ID of the deleted company.
  • message - Confirmation message or status of the delete operation.

Dependencies

  • Requires an OAuth2 API credential for Teamleader to authenticate and authorize the API requests.

Troubleshooting

  • Common issues include providing an invalid or non-existent company ID, which will cause the API to return an error indicating the company could not be found.
  • Authentication errors may occur if the OAuth2 token is expired or invalid, resulting in authorization failures.
  • Network or API endpoint issues could cause request failures; ensure the Teamleader API is reachable and the credentials are correct.

Links

Discussion