Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node interacts with an organization management API to check whether a specific user is blocked within a given organization. It is useful in scenarios where you need to programmatically verify user access or restrictions inside an organization, such as automating user audits, enforcing compliance, or managing permissions dynamically.

For example, you might use this node in a workflow that triggers alerts if a blocked user attempts to perform actions or to synchronize user status across systems.

Properties

Name Meaning
Org The name of the organization to check within.
Username The username of the user to check for a block status.

Output

The node outputs JSON data representing the result of the user block check within the specified organization. This typically includes information indicating whether the user is blocked or not. The exact structure depends on the API response but generally contains user and block status details.

No binary data output is involved.

Dependencies

  • Requires an API key credential to authenticate requests against the organization's API endpoint.
  • The base URL for the API must be configured in the node credentials.
  • The node uses standard HTTP headers for JSON communication.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Incorrect organization name or username may lead to "user not found" or similar errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication errors: Verify that the API key or token is correctly set up and has sufficient permissions.
    • Not found errors: Confirm that the organization and username exist and are spelled correctly.
    • Timeout or network errors: Check your internet connection and API server availability.

Links and References

  • Refer to the official API documentation of the organization management system for detailed information about user block status endpoints.
  • n8n documentation on creating and using API credentials.

Discussion