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 Folder resource and the Delete Project Folder operation, the node allows you to permanently delete a project folder within Dataiku DSS.

Common scenarios where this node is beneficial include automating project management tasks such as cleaning up unused or obsolete project folders, organizing project structures programmatically, or integrating folder deletion into larger workflows that manage Dataiku projects.

For example, you might use this node in an automation workflow that deletes project folders after archiving their contents or when a project lifecycle ends.

Properties

Name Meaning
Folder ID The unique identifier of the project folder to be deleted. This is required for deletion.

Output

The output of the node is a JSON array containing the response from the Dataiku DSS API after attempting to delete the specified project folder.

  • If the deletion is successful, the output will typically contain confirmation details or an empty success response.
  • If the operation involves downloading files (not applicable here), binary data would be returned.
  • In case of errors, the node throws an error with details about what went wrong.

Example output JSON (success scenario):

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

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.

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.
  • Folder ID Required: The node requires the Folder ID property to be set; if omitted, it will throw an error indicating this requirement.
  • API Errors: If the API returns an error (e.g., folder not found, permission denied), the node will throw an error with the message from the API. Verify that the Folder ID exists and that the API key has sufficient permissions.
  • Network Issues: Connection failures to the Dataiku DSS server can cause errors. Check network connectivity and server availability.

Links and References


This summary focuses on the Project Folder resource and the Delete Project Folder operation as requested.

Discussion