Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Source → Update Source

AI-generated

Overview

This node operation updates an existing Source in the Commanders Act platform using the Commanders Act API. It is useful for scenarios where you need to modify the details or configuration of a Source, such as changing its attributes or settings. For example, you might update a Source's metadata or connection parameters to reflect changes in your data integration setup.

Use Case Examples

  1. Updating a Source's configuration by providing the Source ID and the new data in the request body.
  2. Modifying Source attributes to correct or enhance data collection from a specific integration.

Properties

Name Meaning
Source ID The unique identifier of the Source to update. Required to specify which Source to modify.
Query Parameters Optional parameters to customize the API request, such as filters, pagination, or sorting options.
Request Body The JSON object containing the data to update the Source with. This is required for the update operation to specify the new values for the Source's properties.

Output

JSON

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

Dependencies

  • Commanders Act API credentials (siteId and tokenAPI)

Troubleshooting

  • Missing Source ID will cause an error indicating that the Source ID is required.
  • Invalid or missing API credentials will cause authentication errors.
  • Malformed JSON in the request body will cause parsing errors.
  • API errors from the Commanders Act service will be propagated with error messages and stack traces.

Discussion