Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Web Container → Delete Web Trigger

AI-generated

Overview

This node operation deletes a specific web trigger within the Commanders Act platform's Web Container resource. It is useful for managing and cleaning up web triggers that are no longer needed or relevant. For example, if a web trigger was set up for a campaign that has ended, this operation can remove it to keep the system organized.

Use Case Examples

  1. Deleting a web trigger by specifying its Trigger ID to remove it from the web container.
  2. Automating cleanup of outdated web triggers in a web container to maintain system hygiene.

Properties

Name Meaning
Trigger ID The unique identifier of the web trigger to be deleted.
Query Parameters Optional query parameters to customize the delete request, such as filters or pagination options.

Output

JSON

  • Status Code - HTTP status code or message indicating the result of the delete operation
  • json - Response JSON object from the API if available

Dependencies

  • Commanders Act API with API token and site ID credentials

Troubleshooting

  • Ensure the Trigger ID is provided; otherwise, the node will throw an error indicating the missing Trigger ID.
  • Verify that the API credentials (site ID and token) are correctly set and valid to avoid authentication errors.
  • Check the API endpoint URL and query parameters for correctness to prevent request failures.
  • If the API returns a 204 No Content status, it means the deletion was successful but no content is returned.

Discussion