TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node allows you to delete a specific blocklist entry by its unique identifier. It is useful in scenarios where you need to manage and maintain your blocklists dynamically, such as removing outdated or incorrect entries from a list that controls access or filters content.

For example, if you have an automated workflow that monitors certain conditions and determines that a blocklist entry should no longer apply, this node can be used to remove that entry programmatically.

Properties

Name Meaning
Id The unique identifier of the blocklist object to delete. This is required to specify which blocklist entry will be removed.

Output

The output contains a JSON object representing the result of the deletion operation. Typically, this will confirm whether the blocklist entry was successfully deleted or provide details about the deletion status.

No binary data output is expected from this node.

Dependencies

  • Requires an API key credential for authenticating with the external service providing the blocklist management API.
  • The node uses a base URL configured via credentials to connect to the appropriate API endpoint.
  • The node expects the API to support JSON requests and responses.

Troubleshooting

  • Missing or invalid Id: If the "Id" property is not provided or is incorrect, the API call will fail. Ensure the correct blocklist object ID is supplied.
  • Authentication errors: If the API key or authentication token is missing or invalid, the node will return an authorization error. Verify that the credentials are correctly set up.
  • Network or API errors: Connectivity issues or API downtime may cause failures. Check network connectivity and API service status.
  • Permission issues: The authenticated user must have permission to delete blocklist entries; otherwise, the operation will be denied.

Links and References

  • Refer to the external API documentation for blocklist management to understand the exact format of the "Id" and the response structure.
  • Consult n8n documentation on how to configure API key credentials and use HTTP request nodes for similar operations.

Discussion