Twenty icon

Twenty

Interact with the Twenty API

Company → Delete

AI-generated

Overview

This node operation deletes a company from the Twenty workspace using the Twenty API. It requires the unique identifier of the company to be deleted. This operation is useful for managing company records by removing outdated or incorrect entries from the system.

Use Case Examples

  1. Deleting a company record by specifying its unique company ID to keep the workspace data clean and up-to-date.
  2. Automating the removal of companies that no longer exist or are no longer relevant to the business processes.

Properties

Name Meaning
Base URL The base URL for the Twenty workspace REST API, including the /rest suffix.
Company ID The unique identifier of the company to delete, required to specify which company to remove.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and request timeout.

Output

JSON

  • success - Indicates whether the company deletion was successful.
  • message - Additional information or confirmation message about the deletion operation.

Dependencies

  • Requires an API key credential for authenticating with the Twenty API.

Troubleshooting

  • Ensure the Company ID is correct and exists in the Twenty workspace; otherwise, the deletion will fail.
  • Check the Base URL to confirm it points to the correct Twenty workspace REST API endpoint.
  • If SSL certificate validation fails and you trust the endpoint, enable the option to ignore SSL issues.
  • Verify proxy settings if a proxy is required for network access.
  • Adjust the timeout setting if the server response is slow to avoid premature request abortion.

Discussion