Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Web Container → Update Web Constraint

AI-generated

Overview

This node interacts with the Commanders Act API to update a web constraint within the Web Container resource. It is useful for managing and modifying specific constraints applied to web containers, which can be part of web tag management or data governance workflows. For example, users can update rules or conditions that control how data is collected or processed on their websites.

Use Case Examples

  1. Updating a web constraint to change its filtering criteria or activation status.
  2. Modifying a constraint to comply with new privacy regulations or business rules.

Properties

Name Meaning
Constraint ID The unique identifier of the web constraint to update. Required to specify which constraint to modify.
Query Parameters Optional parameters to refine or filter the API request, such as pagination, sorting, or filtering options.
Request Body JSON object containing the data to update the web constraint with. This includes the fields and values to be modified.

Output

JSON

  • json - The JSON response from the Commanders Act API representing the updated web constraint or the result of the update operation.

Dependencies

  • An API key credential for Commanders Act API authentication

Troubleshooting

  • Ensure the Constraint ID is provided; otherwise, the node will throw an error indicating the missing Constraint ID.
  • Verify that the API credentials (site ID and API token) are correctly configured and valid to avoid authentication errors.
  • Check the structure and content of the Request Body JSON to ensure it matches the expected format for updating a web constraint.
  • If the API returns an error, review the error message for details and adjust the input parameters accordingly.

Discussion