Dokka icon

Dokka

Interact with Dokka API

Overview

This node allows you to delete a user resource within the "Public Administration" context by specifying the username. It is useful in scenarios where you need to programmatically remove user accounts from a public administration system, such as revoking access for former employees or cleaning up inactive users.

Practical examples include:

  • Automating user lifecycle management by deleting users who no longer require access.
  • Integrating with HR systems to synchronize user deletions.
  • Maintaining compliance by ensuring that only authorized users remain in the system.

Properties

Name Meaning
Username The unique identifier (username) of the user to be deleted. This is a required string input.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will include confirmation of deletion or relevant status information returned by the API. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authentication to the Dokka API (or equivalent service).
  • The base URL for the API must be configured in the node credentials.
  • Depends on the external Dokka API service to perform the user deletion.

Troubleshooting

  • Common issues:

    • Providing an incorrect or non-existent username may result in an error or no action.
    • Missing or invalid API credentials will cause authentication failures.
    • Network connectivity issues can prevent the node from reaching the API endpoint.
  • Error messages and resolutions:

    • Authentication errors: Verify that the API key or token is correctly set up in the node credentials.
    • User not found: Confirm the username exists before attempting deletion.
    • API request failures: Check network connectivity and API availability.

Links and References

  • Refer to the official Dokka API documentation for details on user management endpoints.
  • n8n documentation on creating and using API credentials.
  • General REST API best practices for handling delete operations.

Discussion