Directus (flagbit) icon

Directus (flagbit)

Consume Directus API

User → Accept User Invite

AI-generated

Overview

This node operation allows accepting a user invite by providing an invite token and setting a password for the user. It is useful in scenarios where a user has been invited to a system and needs to activate their account by confirming the invite and setting their password.

Use Case Examples

  1. A new user receives an invite email with a token and uses this node to accept the invite and set their password to gain access.
  2. An admin automates the onboarding process by programmatically accepting user invites with tokens and passwords.

Properties

Name Meaning
Token The invite token required to accept the user invite. This token is typically provided in the invite email and is mandatory to validate the invite.
Password The password that the user sets when accepting the invite. This is required to complete the user activation process and secure the account.

Output

JSON

  • userId - The unique identifier of the user who accepted the invite.
  • status - The status of the invite acceptance process, indicating success or failure.
  • message - Additional information or confirmation message about the invite acceptance.

Dependencies

  • Requires an API key credential or authentication token to interact with the user management system's API for accepting invites.

Troubleshooting

  • Ensure the invite token is valid and has not expired; an invalid or expired token will cause the operation to fail.
  • Password must meet the system's security requirements; weak or missing passwords will result in errors.
  • Check API authentication credentials if the node fails to connect or authorize the request.

Links

Discussion