Commanders Act icon

Commanders Act

Use the Commanders Act API

Actions108

Workspace → Delete Workspace

AI-generated

Overview

This node operation deletes a specified workspace in the Commanders Act platform using the Commanders Act API. It is useful for scenarios where you need to programmatically remove a workspace, such as cleaning up unused workspaces or managing workspace lifecycle automatically.

Use Case Examples

  1. Deleting a workspace by providing its Workspace ID to remove it from the Commanders Act system.
  2. Automating workspace management by integrating workspace deletion into workflows.

Properties

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

Output

JSON

  • Status Code - HTTP status code or message indicating the result of the delete operation

Dependencies

  • Commanders Act API
  • an API key credential for authentication

Troubleshooting

  • Missing Workspace ID will cause an error indicating the Workspace ID is required.
  • API errors from the Commanders Act service will be wrapped and presented with the message 'Error calling Commanders Act API' followed by the original error message.
  • Ensure the API credentials (siteId and tokenAPI) are correctly configured to avoid authentication errors.

Discussion