Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Destination → Update Destination

AI-generated

Overview

This node operation updates an existing destination in the Commanders Act platform. It is useful for scenarios where you need to modify the configuration or details of a destination integration, such as changing its settings or updating its metadata. For example, you might update a destination to change its connection parameters or to enable/disable certain features.

Use Case Examples

  1. Updating a destination's configuration by providing the destination ID and the new settings in the request body.
  2. Modifying metadata of a destination to reflect changes in the integration requirements.

Properties

Name Meaning
Destination ID The unique identifier of the destination to update. This is required to specify which destination to modify.
Query Parameters Optional query parameters to customize the API request, such as filters, pagination, sorting, etc.

Output

JSON

  • json - The JSON response from the Commanders Act API representing the updated destination details or status.

Dependencies

  • Commanders Act API credentials (siteId and tokenAPI) are required for authentication.

Troubleshooting

  • Ensure the Destination ID is provided; otherwise, the node will throw an error indicating the missing ID.
  • Verify that the API credentials (siteId and tokenAPI) are correctly set and valid to avoid authentication errors.
  • Check the request body JSON format for correctness when sending update data; malformed JSON will cause request failures.
  • If the API returns an error, the node will throw a NodeApiError with the message from the API; review the error message and stack trace for debugging.

Discussion