0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions132

Shortened URL → Delete Shortened URL

AI-generated

Overview

This node is part of a toolbox of no-code utilities designed to interact with various services, including managing shortened URLs. Specifically, the "Delete Shortened URL" operation allows users to remove a previously created shortened URL by specifying its unique identifier. This is useful for maintaining or cleaning up URL shortener services, revoking access to certain links, or managing link lifecycle within automation workflows.

Practical examples:

  • Automatically deleting expired or unused shortened URLs in bulk.
  • Removing shortened URLs that are no longer valid or needed as part of a content management process.
  • Integrating URL deletion into larger automation flows where URLs are dynamically created and removed.

Properties

Name Meaning
URL Identifier The unique identifier of the shortened URL to delete. Example: to4w5vyb

Output

The node outputs JSON data representing the result of the deletion request. Typically, this will include confirmation of the deletion status or any error messages returned by the service. There is no indication that binary data is output by this operation.

Dependencies

  • Requires an API key credential for authentication with the 0CodeKit service.
  • The node sends a POST request to the endpoint /generate/shortenedurl/del on the base URL https://prod.0codekit.com.
  • Proper configuration of the API key credential in n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent URL identifier will likely result in an error or failure to delete.
    • Missing or incorrect API credentials will cause authentication failures.
    • Network connectivity issues can prevent the node from reaching the 0CodeKit API.
  • Error messages:

    • Authentication errors typically indicate missing or invalid API keys; verify credential setup.
    • "URL not found" or similar errors suggest the identifier does not correspond to any existing shortened URL.
    • HTTP errors (e.g., 400 or 500 series) may require checking the API status or input parameters.

Links and References

Discussion