Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Web Container → Delete Web Container

AI-generated

Overview

This node operation deletes a specified Web Container in the Commanders Act platform. It is useful for managing and cleaning up web containers that are no longer needed or relevant. For example, if a web container is obsolete or incorrectly configured, this operation can remove it from the system.

Use Case Examples

  1. Deleting a web container by providing its Container ID to remove it from the Commanders Act platform.
  2. Automating cleanup of unused web containers in a workflow.

Properties

Name Meaning
Container ID The unique identifier of the web container to be deleted.
Query Parameters Optional query parameters to customize the delete request, such as filters or pagination.

Output

JSON

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

Dependencies

  • Commanders Act API with API token credentials

Troubleshooting

  • Ensure the Container ID is provided; otherwise, the node throws an error indicating the missing Container ID.
  • Verify that the API credentials (siteId and tokenAPI) are correctly set and valid to avoid authentication errors.
  • Check the API endpoint URL and query parameters for correctness to prevent request failures.
  • Common error messages include missing required parameters (e.g., Container ID) and API authentication failures, which can be resolved by providing the necessary inputs and valid credentials.

Discussion