Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Cookie Scanner → Deploy Cookie Notice

AI-generated

Overview

This node interacts with the Commanders Act API to deploy a cookie notice on a website. It is part of the Cookie Scanner resource and specifically handles the 'Deploy Cookie Notice' operation. This operation requires a Cookie Notice Version ID to identify which version of the cookie notice to deploy. The node constructs the appropriate API endpoint URL using the provided version ID and sends a POST request to deploy the cookie notice. This node is useful for automating the deployment of cookie notices in compliance with privacy regulations on websites.

Use Case Examples

  1. Deploy a specific version of a cookie notice to a website by providing the Cookie Notice Version ID.
  2. Automate the deployment process of cookie notices as part of a larger workflow managing website privacy settings.

Properties

Name Meaning
Cookie Notice Version ID The identifier of the cookie notice version to be deployed. This is a required string input for the deploy operation.

Output

JSON

  • response - The JSON response from the Commanders Act API after attempting to deploy the cookie notice. It contains details about the deployment status.

Dependencies

  • Commanders Act API
  • An API authentication token (Bearer token) from Commanders Act API credentials

Troubleshooting

  • Error 'Cookie Notice Version ID is required': Ensure that the Cookie Notice Version ID is provided as input before executing the node.
  • API request failures: Check that the API credentials are correctly set and that the API endpoint is reachable.
  • Invalid or expired API token: Refresh the API token in the credentials if authentication errors occur.

Links

Discussion