Magnet Customer icon

Magnet Customer

Consume Magnet Customer API

Workspace → Delete

AI-generated

Overview

This node deletes a workspace in the Magnet Customer system using the provided Workspace ID. It is useful for automating the removal of workspaces, for example, when cleaning up unused or obsolete workspaces in a CRM or project management environment.

Use Case Examples

  1. Deleting a workspace by specifying its Workspace ID to remove it from the system.
  2. Automating workspace management by deleting workspaces that are no longer needed.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either API Token or OAuth2.
Workspace ID The unique identifier of the workspace to delete. This is required to specify which workspace to remove.

Output

JSON

  • json - The JSON response from the API after attempting to delete the workspace, typically indicating success or failure.

Dependencies

  • Requires an API key credential or OAuth2 token for authentication to the Magnet Customer API.

Troubleshooting

  • Ensure the Workspace ID is correct and exists in the system; otherwise, the delete operation will fail.
  • Check that the authentication credentials (API Token or OAuth2) are valid and have sufficient permissions to delete workspaces.
  • Common error messages may include authorization errors or 'workspace not found' errors, which indicate issues with credentials or invalid Workspace ID respectively.

Discussion