TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node allows you to delete a specific view by its unique identifier. It is useful in scenarios where you need to programmatically remove saved views or filters from a system that supports such entities, for example, cleaning up outdated or unused views in a project management or data visualization tool.

A practical example would be automating the removal of user-created views that are no longer relevant, helping maintain an organized and clutter-free environment.

Properties

Name Meaning
Id The unique identifier of the view to delete. This is a required string value representing the object id.

Output

The output will typically contain JSON data confirming the deletion status of the specified view. This may include success confirmation or details about the deleted object. No binary data output is expected.

Dependencies

  • Requires an API key credential to authenticate requests.
  • Depends on the external Twenty API service (as indicated by the bundled OpenAPI schema).
  • The node configuration must include the base URL domain for the API endpoint.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent view ID will likely result in an error response from the API.
    • Missing or incorrect API credentials will cause authentication failures.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • "Object not found" or similar indicates the provided ID does not correspond to any existing view.
    • Authentication errors suggest checking the API key or token validity.
    • Timeout or connection errors require verifying network access and API availability.

Links and References

  • Refer to the official Twenty API documentation for detailed information on the Views resource and delete operation.
  • Consult n8n documentation on how to configure API credentials and use HTTP request nodes if needed.

Discussion