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 DSS resources. Specifically for the Project Deployer resource and the Delete Deployment operation, the node allows users to delete an existing deployment by specifying its Deployment ID.

Common scenarios where this node is beneficial include automating project deployment lifecycle management within Dataiku DSS environments, such as cleaning up old or unused deployments programmatically. For example, after a deployment is no longer needed or has been replaced, this node can be used in an n8n workflow to delete that deployment automatically, helping maintain a clean and efficient deployment environment.

Properties

Name Meaning
Deployment ID The unique identifier of the deployment to delete. This is required to specify which deployment will be removed.

Output

The output of the node is a JSON array containing the response from the Dataiku DSS API after attempting to delete the specified deployment. Typically, for a delete operation, the response might be empty or contain status information confirming the deletion.

  • If the deletion is successful, the node returns a JSON object representing the API's response.
  • If the API returns binary data (not typical for delete), it would be handled accordingly, but for this operation, output is expected as JSON.
  • In case of errors, the node throws an error with details about the failure.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires an API key credential for authenticating 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 are required beyond the Dataiku DSS API access.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Dataiku DSS API Credentials," ensure that the API key credential is properly set up in n8n and linked to this node.
  • Deployment ID Required: The node requires the Deployment ID property to be set; if missing, it will throw an error indicating this requirement.
  • API Errors: Errors returned from the Dataiku DSS API (e.g., invalid Deployment ID, insufficient permissions) will be surfaced as node errors. Verify the Deployment ID is correct and that the API key has sufficient permissions to delete deployments.
  • Network Issues: Ensure that the Dataiku DSS server URL is reachable from the n8n environment and that there are no firewall or network restrictions blocking the API calls.

Links and References


This summary focuses on the Project Deployer - Delete Deployment operation extracted from the provided source code and properties.

Discussion