Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API, allowing users to perform various operations on Dataiku DSS resources. Specifically for the Scenario resource and the Delete Scenario operation, the node enables deleting a scenario within a specified project in Dataiku DSS.

Common use cases include automating the management of scenarios in Dataiku projects, such as cleaning up unused or obsolete scenarios programmatically as part of a workflow. For example, you might delete a scenario after it has completed its purpose or before recreating it with updated settings.

Properties

Name Meaning
Project Key The key identifier of the Dataiku project containing the scenario.
Scenario ID The unique identifier of the scenario to be deleted within the specified project.

Output

The output of this operation is the JSON response from the Dataiku DSS API after attempting to delete the scenario. Typically, this will confirm the deletion or provide status information. If the API returns no content (HTTP 204), the node outputs a JSON object indicating "204 No Content".

No binary data is produced by 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 Dataiku DSS server URL and user API key to be configured in the credentials.

Troubleshooting

  • Missing Credentials Error: If the API credentials are not provided or invalid, the node throws an error indicating missing Dataiku DSS API credentials.
  • Required Parameter Missing: The node validates that both the Project Key and Scenario ID are provided; if either is missing, it throws an error specifying which parameter is required.
  • API Errors: Any errors returned by the Dataiku DSS API during the delete request will be surfaced as node errors with messages prefixed by "Error calling Dataiku DSS API".
  • Network Issues: Connectivity problems to the Dataiku DSS server will cause request failures; ensure the server URL is reachable and correct.
  • Permission Issues: The API key used must have sufficient permissions to delete scenarios in the specified project.

Links and References


This summary focuses on the Scenario resource's Delete Scenario operation as requested, based on static analysis of the provided source code and property definitions.

Discussion