TNKR Hunter icon

TNKR Hunter

Send events to Hunter collector and create slugs

Delete Slug

AI-generated

Overview

This node interacts with the Hunter API to manage URL slugs and send event data. Specifically, the 'Delete Slug' operation allows users to delete a slug that maps to a destination URL. This is useful for managing URL redirects dynamically, such as removing outdated or incorrect slugs from a system. Practical use cases include cleaning up URL mappings in marketing campaigns or web applications where slugs are used for redirection.

Use Case Examples

  1. Deleting a slug that is no longer valid to prevent users from being redirected to an outdated page.
  2. Removing a slug as part of a URL management workflow to maintain clean and accurate URL mappings.

Properties

Name Meaning
Slug The slug value that maps to a destination URL, which is to be deleted.

Output

JSON

  • json - The response from the Hunter API after attempting to delete the specified slug.

Dependencies

  • Requires an API key credential for the Hunter API to authenticate requests.

Troubleshooting

  • Ensure the slug parameter is provided and correctly formatted; missing or empty slug will cause the operation to fail.
  • Verify that the API key credential is valid and has the necessary permissions to delete slugs.
  • Check network connectivity and the Hunter API endpoint URL if requests fail or time out.
  • The node returns the API response in the 'json' output; inspect this for error messages from the API to diagnose issues.

Links

Discussion