Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Mix Collect Redirect Rule → Delete Redirect Rule

AI-generated

Overview

This node interacts with the Commanders Act API to delete a specific Mix Collect Redirect Rule. It is useful in scenarios where you need to programmatically remove redirect rules from your Commanders Act setup, such as cleaning up outdated or incorrect redirect rules. For example, if a redirect rule is no longer valid or needed, this node can be used to delete it by specifying its Redirect Rule ID.

Use Case Examples

  1. Deleting a redirect rule by providing its Redirect Rule ID to maintain an up-to-date set of redirect rules in your Commanders Act environment.
  2. Automating the cleanup of redirect rules as part of a workflow that manages website redirects dynamically.

Properties

Name Meaning
Redirect Rule ID The unique identifier of the redirect rule to be deleted. This is required to specify which redirect rule to remove.
Query Parameters Optional query parameters to customize the API request, such as filtering or pagination options.

Output

JSON

  • Status Code - Indicates the HTTP status code or response status of the delete operation, e.g., '204 No Content' for successful deletion.

Dependencies

  • Commanders Act API with API token and site ID credentials

Troubleshooting

  • Ensure the Redirect Rule ID is provided; otherwise, the node throws an error indicating the missing ID.
  • Check API credentials (site ID and token) are correctly set to avoid authentication errors.
  • Verify the Redirect Rule ID exists and is accessible with the provided credentials to prevent 'not found' or permission errors.

Links

Discussion