CodeQR icon

CodeQR

Consume CodeQR API

Actions8

Overview

This node integrates with the CodeQR API to manage QR codes programmatically. Specifically, the "Delete" operation under the "QR Code" resource allows users to remove a QR code by its unique identifier. This is useful in scenarios where QR codes are no longer needed or must be invalidated for security or organizational reasons.

Practical examples include:

  • Automatically deleting expired or used QR codes from your system.
  • Cleaning up QR codes that were generated for temporary campaigns or events.
  • Managing QR code lifecycle within automated workflows.

Properties

Name Meaning
Authentication Method of authenticating with the API; currently supports "Access Token".
QR Code ID The unique identifier of the QR code to delete. This is a required string input.

Output

The node outputs a JSON array containing the response from the delete operation. Typically, this will confirm whether the deletion was successful or provide relevant status information. There is no indication that binary data is outputted by this operation.

Example output structure (conceptual):

[
  {
    "success": true,
    "message": "QR Code deleted successfully",
    "qrcodeId": "string"
  }
]

Dependencies

  • Requires an active connection to the CodeQR API.
  • Needs an API authentication token (access token) configured in n8n credentials to authorize requests.
  • No additional external dependencies are indicated.

Troubleshooting

  • Common issues:

    • Invalid or missing QR Code ID: Ensure the QR Code ID provided exists and is correctly formatted.
    • Authentication errors: Verify that the access token is valid and has sufficient permissions.
    • Network or API downtime: Check connectivity and CodeQR service status.
  • Error messages:

    • "Operation not supported": This indicates an unsupported operation-resource combination; ensure you are using the correct resource ("QR Code") and operation ("Delete").
    • API error responses related to authorization or invalid IDs should be handled by verifying credentials and input parameters.

Links and References

Discussion