Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node operation allows you to delete one or more email addresses associated with a user in the system. It is useful when you need to remove outdated, incorrect, or unwanted email addresses from a user's profile. For example, if a user has multiple emails registered and some are no longer valid, this operation can clean up those entries.

Properties

Name Meaning
Emails A JSON array of email addresses to delete from the user’s account. Example: ["user1@example.com", "user2@example.com"]

Output

The output will contain a JSON object reflecting the result of the delete operation. Typically, it may include confirmation of which emails were deleted or an empty response indicating success. The exact structure depends on the API's response but generally confirms the deletion status.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the external service managing users.
  • The node uses a base URL configured via credentials to send HTTP requests to the user management API.
  • The input emails must be provided as a JSON array string that is parsed before sending.

Troubleshooting

  • Invalid JSON in Emails property: If the emails input is not a valid JSON array string, the node will fail to parse it. Ensure the input is correctly formatted JSON.
  • Authentication errors: If the API key or authentication token is missing or invalid, the request will fail. Verify credentials are properly set.
  • Email not found: Attempting to delete an email address that does not exist may result in an error or no action. Confirm the emails exist before deletion.
  • API endpoint issues: Network problems or incorrect base URL configuration can cause request failures. Check connectivity and credential settings.

Links and References

  • Refer to the external user management API documentation for details on deleting user emails.
  • JSON formatting guides for preparing the emails input array.

Discussion