AvantGuard - ConnectSecure icon

AvantGuard - ConnectSecure

AvantGuard - ConnectSecure

Actions223

Overview

This node is designed to delete an Asset by its identifier. It is useful in scenarios where you need to programmatically remove assets from a system, such as cleaning up unused resources, managing asset lifecycle, or automating administrative tasks related to asset management.

For example, if you have a list of asset IDs that are no longer needed, this node can be used within an automation workflow to delete each asset by specifying its ID and the user context.

Properties

Name Meaning
X USER ID The User Id header value to identify the user performing the deletion request.
Id The numeric identifier of the Asset to be deleted.
  • X USER ID is passed as a custom HTTP header to authenticate or identify the user making the request.
  • Id specifies which asset will be deleted.

Output

The output JSON typically contains the response from the delete operation. This might include confirmation of deletion or status information returned by the API. Since this is a delete operation, the output usually does not contain the deleted asset data but rather a success message or status code indicating the result.

No binary data output is expected for this operation.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node uses a base URL configured in the credentials to send HTTP requests.
  • The X USER ID header must be provided to authorize the deletion request.

Troubleshooting

  • Missing or invalid X USER ID: The API may reject the request if the user ID header is missing or incorrect. Ensure the "X USER ID" property is set correctly.
  • Invalid Asset Id: If the asset ID does not exist or is invalid, the API will likely return an error indicating the asset was not found.
  • Authentication errors: Make sure the API key credential is valid and has permissions to delete assets.
  • Network issues: Verify connectivity to the API endpoint and correct base URL configuration.

Common error messages:

  • Unauthorized or Forbidden: Check API credentials and user permissions.
  • Not Found: The specified asset ID does not exist.
  • Bad Request: Invalid input parameters; verify the asset ID is a number and required headers are present.

Links and References

  • Refer to the external API documentation for asset management and deletion endpoints.
  • Consult your API provider’s guidelines on required headers and authentication methods.

Discussion