Dataiku DSS icon

Dataiku DSS

Use the Dataiku DSS API

Actions364

Overview

This node integrates with the Dataiku DSS API to perform various operations related to security management, including resynchronizing multiple users. Specifically, for the Security resource and the Resync Multiple Users operation, it allows batch resynchronization of user accounts in Dataiku DSS. This can be useful when you need to update or refresh user information from an external identity provider or after bulk changes to user data.

Common scenarios include:

  • Synchronizing user accounts after changes in an external directory.
  • Refreshing user permissions or attributes in bulk.
  • Automating user provisioning workflows that require periodic resync.

Example: You have updated user roles in your corporate LDAP and want to reflect those changes in Dataiku DSS by resyncing all affected users at once.

Properties

Name Meaning
Request Body JSON object containing the request payload for the API call. For "Resync Multiple Users", this would typically specify which users to resync or parameters controlling the resync behavior.

Note: The property is named "Request Body" and expects a JSON input. It is used to send the necessary data for the operation.

Output

The output of the node is a JSON array where each element corresponds to the response from the Dataiku DSS API for each input item processed.

  • For the Resync Multiple Users operation, the output JSON will contain the API response indicating the result of the resync action, such as success confirmation or details about the users resynchronized.
  • If the API returns binary data (not typical for this operation), it would be provided as binary output, but this operation primarily deals with JSON responses.

Dependencies

  • Requires an active connection to a Dataiku DSS instance.
  • Needs 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.
  • No additional external services are required beyond the Dataiku DSS API.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing API credentials, ensure that the Dataiku DSS API credentials are properly set up in n8n.
  • Required Parameters Missing: The node validates required parameters like login names or IDs depending on the operation. For "Resync Multiple Users", ensure the request body includes the necessary user identifiers or parameters.
  • API Errors: Errors returned from the Dataiku DSS API will be wrapped and shown with messages like "Error calling Dataiku DSS API". Check the API response for details such as permission issues or invalid request formats.
  • Network Issues: Ensure the Dataiku DSS server URL is reachable from the n8n environment.
  • Invalid JSON in Request Body: The "Request Body" must be valid JSON; otherwise, the API call will fail.

Links and References


This summary focuses on the "Security" resource and the "Resync Multiple Users" operation as requested, based on static analysis of the provided source code and properties.

Discussion