Qlynk - Delete URL icon

Qlynk - Delete URL

Deletes a shortened URL permanently. REQUIRED: short_code (string). RETURNS: Success confirmation message.

Overview

This node deletes a shortened URL permanently using its short code. It is useful for managing and cleaning up URLs that are no longer needed or valid. For example, if a user wants to remove a specific shortened link from their Qlynk account, they can provide the short code to this node to delete it.

Use Case Examples

  1. Deleting a shortened URL by providing its short code to remove it from the system permanently.
  2. Automating URL management by deleting expired or invalid shortened URLs in bulk.

Properties

Name Meaning
Short Code The short code of the link to delete, which is required to identify the URL to be removed.

Output

JSON

  • json
    • success - Indicates if the deletion was successful (true or false).
    • short_code - The short code of the URL that was attempted to be deleted.
    • statusCode - HTTP status code returned by the API, e.g., 404 if URL not found.
    • message - Message describing the result, such as error details if the URL was not found.
    • error - Error message if the deletion failed due to an exception.

Dependencies

  • Requires an API key credential for Qlynk API authentication to authorize the delete request.

Troubleshooting

  • If the 'short_code' parameter is missing or empty, the node throws an error indicating it is required.
  • If the URL corresponding to the short code does not exist, the node returns a 404 status with a message 'URL not found - cannot delete'.
  • If the API request fails for other reasons, the node throws an error unless 'Continue On Fail' is enabled, in which case it outputs the error message in the JSON output.

Links

Discussion