Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, enabling users to perform a wide range of operations on various Dataiku resources. Specifically for the Workspace resource and the Delete Workspace Object operation, it allows users to remove an object from a specified workspace in Dataiku DSS.

Common scenarios where this node is beneficial include automating workspace management tasks such as cleaning up unused or obsolete objects within workspaces, maintaining organized project environments, or integrating workspace object deletion into larger automated workflows.

For example, if a user wants to programmatically delete a specific dataset or application link from a workspace identified by its key, this node can be configured to do so without manual intervention.

Properties

Name Meaning
Workspace Key The unique identifier (key) of the workspace from which an object will be deleted.
Workspace Object ID The unique identifier of the workspace object that should be deleted from the workspace.

Output

The output of this node is a JSON array containing the response from the Dataiku DSS API after attempting to delete the workspace object. Typically, for a successful delete operation, the API may return a confirmation or status message. If the operation involves binary data (not typical for delete), it would be returned as binary content, but for this operation, the output is JSON indicating success or failure.

Example output JSON structure:

[
  {
    "Status Code": "204 No Content"
  }
]

or a JSON object confirming deletion.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key credential) for authentication with the Dataiku DSS API.
  • The node expects the Dataiku DSS server URL and user API key to be configured in the credentials.
  • No additional external dependencies beyond the Dataiku DSS API and n8n's HTTP request capabilities.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that the Dataiku DSS API credentials are properly set up in n8n.
  • Required Parameter Errors: The node validates required parameters like Workspace Key and Workspace Object ID. If these are missing, the node will throw errors indicating which parameter is required.
  • API Request Failures: Network issues, incorrect server URLs, or invalid API keys can cause request failures. Verify connectivity and credentials.
  • Permission Issues: The API key used must have sufficient permissions to delete objects in the specified workspace.
  • Unexpected Response Format: If the API returns unexpected data, check the Dataiku DSS API version compatibility and the correctness of input parameters.

Links and References

Discussion