TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node allows you to delete a specific Task Target by its unique identifier. It is useful in scenarios where you need to programmatically remove task targets from your system, such as cleaning up outdated or incorrect entries, or automating task management workflows.

For example, if you have a list of task targets and want to remove one that is no longer relevant, this node can be used to perform that deletion automatically based on the target's ID.

Properties

Name Meaning
Id The unique identifier of the Task Target object to delete. This is required to specify which task target should be removed.

Output

The output JSON will typically contain the response from the API confirming the deletion of the specified Task Target. This may include status information or details about the deleted object. The node does not output binary data.

Dependencies

  • Requires an API key credential for authentication with the Twenty API.
  • The node uses the Twenty API endpoint configured via credentials, including the base URL domain.
  • Proper permissions to delete task targets must be granted by the API user.

Troubleshooting

  • Missing or invalid Id: If the Id property is empty or incorrect, the API will likely return an error indicating that the object was not found or the request is invalid. Ensure the Id is correct and corresponds to an existing Task Target.
  • Authentication errors: If the API key or credentials are missing or invalid, the node will fail to authenticate. Verify that the API key credential is correctly set up.
  • Permission denied: If the authenticated user does not have permission to delete task targets, the API will reject the request. Check user roles and permissions.
  • Network issues: Connectivity problems with the API endpoint can cause failures. Confirm network access and API availability.

Links and References

Discussion