AvantGuard - DNSFilter icon

AvantGuard - DNSFilter

AvantGuard - DNSFilter

Actions277

Overview

This node operation allows you to add a user to a specific collection by creating a "Collection User" entry. It is useful in scenarios where you manage collections of users and need to programmatically assign users to these collections, such as managing access control lists, grouping users for targeted actions, or organizing users within a system.

For example, if you have a collection representing a team or department, this operation lets you add individual users to that collection by specifying their user ID and the target collection ID.

Properties

Name Meaning
Collection Id The unique identifier of the collection to which the user will be added. Must be a number.
Id The unique identifier of the user to add to the collection. Must be a number.

Output

The output JSON contains the response from the API after attempting to create the collection user entry. This typically includes details confirming the creation, such as the assigned IDs and any metadata returned by the service.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node uses a base URL https://api.dnsfilter.com indicating it interacts with the AvantGuard DNSFilter API.
  • Proper configuration of the API credentials in n8n is necessary for successful requests.

Troubleshooting

  • Common issues:

    • Invalid or missing collection ID or user ID can cause request failures.
    • Authentication errors if the API key credential is not set up correctly.
    • Network connectivity problems preventing access to the API endpoint.
  • Error messages:

    • Unauthorized or 401 errors indicate issues with API credentials; verify and update the API key.
    • 400 Bad Request errors may occur if required properties are missing or invalid; ensure both Collection Id and Id are provided and are numbers.
    • 404 Not Found could mean the specified collection or user does not exist; double-check the IDs.

Links and References

Discussion