TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node operation deletes a single Note Target object identified by its unique ID. It is useful in scenarios where you need to programmatically remove specific note targets from your system or application, such as cleaning up outdated references or managing user-generated content.

For example, if you have a list of note targets and want to delete one that is no longer relevant, this operation allows you to specify the exact target by its ID and remove it efficiently.

Properties

Name Meaning
Id The unique identifier of the Note Target object to delete. This is a required string value.

Output

The output JSON will typically contain confirmation of the deletion action. This may include status information or details about the deleted Note Target. No binary data output is expected for this operation.

Dependencies

  • Requires an API key credential to authenticate requests against the Twenty API.
  • The node uses the Twenty API base URL configured via credentials.
  • Proper permissions are needed to perform delete operations on Note Targets.

Troubleshooting

  • Missing or invalid Id: If the Id property is not provided or incorrect, the node will fail to delete the Note Target. Ensure the Id is correct and corresponds to an existing Note Target.
  • Authentication errors: If the API key or domain credentials are missing or invalid, the request will be rejected. Verify that the credentials are correctly set up in n8n.
  • Permission denied: The authenticated user might lack permission to delete Note Targets. Check API 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