Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Source → Destroy Source

AI-generated

Overview

This node operation deletes a specific source in the Commanders Act platform using the Commanders Act API. It requires the user to provide the Source ID of the source to be deleted. The node constructs the appropriate API endpoint URL with the given Source ID and sends a DELETE request to remove the source. This operation is useful for managing and cleaning up sources in the Commanders Act system, for example, when a source is no longer needed or should be removed for data management purposes.

Use Case Examples

  1. Deleting a source by specifying its Source ID to remove it from the Commanders Act platform.
  2. Automating source cleanup by integrating this node in workflows that identify obsolete sources.

Properties

Name Meaning
Source ID The unique identifier of the source to be deleted. This is required to specify which source to destroy.
Query Parameters Optional query parameters to customize the API request, such as filters, pagination, or sorting options. These parameters are appended to the API request URL if provided.

Output

JSON

  • Status Code - HTTP status code or message indicating the result of the delete operation
  • json - Response JSON object from the API if any

Dependencies

  • Commanders Act API with API token credentials

Troubleshooting

  • Missing Source ID will cause an error indicating that the Source ID is required.
  • API authentication errors if the API token is missing or invalid.
  • Network or connectivity issues when calling the Commanders Act API.
  • Errors returned by the API such as 404 if the source does not exist or 403 if unauthorized.

Discussion