Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node allows an administrator to delete a user from the system. It is useful in scenarios where user accounts need to be removed for security, compliance, or housekeeping reasons. The node supports optionally purging the user completely, which means removing all traces of the user from the system.

Practical examples:

  • Removing a former employee's account to prevent access.
  • Cleaning up test or duplicate user accounts.
  • Enforcing data retention policies by purging user data entirely.

Properties

Name Meaning
Username The username of the user account that you want to delete.
Purge Whether to purge the user completely from the system (true/false). Defaults to true.

Output

The node outputs JSON data representing the result of the delete operation. This typically includes confirmation of deletion or any error messages returned by the API. There is no binary output.

Dependencies

  • Requires an API key credential to authenticate with the Gitea API.
  • The node interacts with the Gitea server’s REST API endpoint /api/v1.
  • The base URL for the API must be configured in the credentials.

Troubleshooting

  • User not found: If the specified username does not exist, the API will return an error. Verify the username spelling and existence.
  • Insufficient permissions: Ensure the API key used has administrative rights to delete users.
  • Network issues: Check connectivity to the Gitea server and correct base URL configuration.
  • Purge option ignored: Confirm that the boolean value for purge is correctly passed as a query parameter.

Links and References

Discussion