AvantGuard - ConnectSecure icon

AvantGuard - ConnectSecure

AvantGuard - ConnectSecure

Actions223

Overview

This node is designed to delete a company record from an external system via an API call. It is useful in scenarios where you need to programmatically remove company data, such as cleaning up outdated records or automating data management workflows. For example, if a company is no longer active or relevant, this node can be used to delete its entry based on the provided company ID.

Properties

Name Meaning
X USER ID User Id header value required for authentication or identification in the API request.
Id The numeric identifier of the company to be deleted.

Output

The node outputs JSON data representing the response from the API after attempting to delete the specified company. This typically includes confirmation of deletion or error details if the operation failed. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating requests to the external service.
  • The base URL for the API must be configured in the node credentials.
  • The node uses HTTP headers including X-USER-ID for user identification.
  • The node depends on an OpenAPI specification (openapi.json) bundled with the node for request construction.

Troubleshooting

  • Missing or invalid X USER ID header: The API may reject requests without a valid user ID header. Ensure this property is correctly set.
  • Invalid company ID: Providing a non-existent or incorrect company ID will likely result in an error response from the API.
  • Authentication errors: If the API key credential is missing or invalid, the node will fail to authenticate.
  • Network issues: Connectivity problems to the API endpoint will cause request failures.
  • To resolve errors, verify all input properties, ensure credentials are correct, and check network connectivity.

Links and References

  • Refer to the external API documentation for detailed information about the company deletion endpoint.
  • Consult n8n documentation on how to configure API credentials and use HTTP headers in nodes.

Discussion