Vikunja icon

Vikunja

Get data from Vikunja's API

Team → Toggle a User's Admin Status in a Team

AI-generated

Overview

This node operation toggles a user's admin status within a specified team in Vikunja. It is useful for managing team permissions dynamically, such as promoting a user to admin or revoking admin rights based on workflow conditions. For example, it can be used in automated team management scenarios where user roles need to be updated without manual intervention.

Use Case Examples

  1. Automatically grant admin rights to a user when they join a team.
  2. Revoke admin status from a user after a certain event or condition is met.

Properties

Name Meaning
Team Name or ID Specifies the team to operate on, either by selecting from a list or providing the team ID.
Request Options Additional settings for the request such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • team_id - The ID of the team on which the operation was performed.
  • user_id - The ID of the user whose admin status was toggled.
  • admin_status - The new admin status of the user after toggling (true or false).

Dependencies

  • An API key credential for authenticating with the Vikunja API

Troubleshooting

  • Ensure the team ID or name is correct and the user exists in the team to avoid errors.
  • Check API credentials and network connectivity if requests fail.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Timeout errors can be resolved by increasing the timeout setting in request options.

Discussion