Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Cookie Scanner → Reset Cookie Description

AI-generated

Overview

This node operation interacts with the Commanders Act API to reset the description of a specified cookie in the Cookie Scanner resource. It retrieves the default description of the given cookie as presented in the configured languages. This is useful for scenarios where a user wants to revert any custom description changes back to the original default provided by the system.

Use Case Examples

  1. Resetting the description of a cookie named 'session_id' to its default description in multiple languages.
  2. Automating the process of restoring default cookie descriptions after manual edits.

Properties

Name Meaning
Cookie Name The name of the cookie whose description is to be reset to the default.
Query Parameters Optional query parameters to customize the API request, such as filters, pagination, sorting, and other parameters supported by the API endpoint.

Output

JSON

  • json - The JSON response from the Commanders Act API containing the reset cookie description or status information.

Dependencies

  • Commanders Act API with API token and site ID credentials

Troubleshooting

  • Missing or invalid API credentials will cause authentication errors. Ensure the API token and site ID are correctly configured.
  • If the Cookie Name is not provided, the node will throw an error indicating that the Cookie Name is required.
  • API request failures may occur due to network issues or incorrect query parameters; verify the parameters and network connectivity.
  • Error messages from the API are wrapped and presented as node errors; check the error message and stack trace for debugging.

Discussion