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 Security resource and the Delete Code Env operation, it allows deleting a specified code environment in Dataiku DSS. This is useful for managing and cleaning up code environments that are no longer needed or are obsolete.

Common scenarios include:

  • Automating the removal of unused or deprecated code environments.
  • Managing security and environment configurations programmatically.
  • Integrating environment cleanup into larger workflows involving Dataiku DSS projects.

Example use case:

  • A data engineering workflow that creates temporary code environments for testing and deletes them automatically after tests complete.

Properties

Name Meaning
Env Lang The programming language of the code environment to delete (e.g., Python, R).
Env Name The name identifier of the code environment to delete.

These properties specify which code environment to target for deletion within the Security resource.

Output

The output of this node is an array of JSON objects representing the response from the Dataiku DSS API after attempting the deletion. The structure depends on the API's response but typically includes status information about the deletion request.

If the operation succeeds, the output JSON confirms the deletion or provides relevant metadata. If the operation fails, an error is thrown.

No binary data output is expected for this operation.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Requires valid API credentials (an API key) for authentication with the Dataiku DSS API.
  • The node expects the base URL of the DSS server and the user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials Error: If the API credentials are not provided or invalid, the node will throw an error indicating missing credentials.
  • Required Parameters Missing: The node validates required parameters such as Env Lang and Env Name. Omitting these will cause errors.
  • API Errors: If the DSS API returns an error (e.g., environment not found, permission denied), the node throws an error with the message returned by the API.
  • Network Issues: Connectivity problems to the DSS server will result in request failures; ensure network access and correct server URL.

Links and References


This summary focuses on the Security resource's Delete Code Env operation based on the provided source code and input properties.

Discussion