GitLab API

GitlabTool

Actions905

Overview

This node operation deletes a specific email address associated with the authenticated GitLab user by its email ID. It is useful for managing user email addresses, such as removing outdated or unwanted emails from the user's GitLab account.

Use Case Examples

  1. A user wants to remove an old email address from their GitLab profile to ensure only current emails receive notifications.
  2. An admin automates cleanup of user email addresses by deleting invalid or unused emails via the API.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip using authentication for the request.
Authentication The authentication method used for the API request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, default is GET but for this operation it will be DELETE.
Path Parameters The path parameters for the API request, specifically the email ID to delete.

Output

JSON

  • success - Indicates whether the email deletion was successful.
  • statusCode - HTTP status code returned by the API after the delete request.

Dependencies

  • Requires GitLab API key authentication unless Skip Authentication is enabled.

Troubleshooting

  • Ensure the email_id path parameter is provided and valid; missing or incorrect ID will cause the request to fail.
  • Authentication errors may occur if the API key is missing, invalid, or lacks permissions to delete user emails.
  • Network or baseUrl misconfiguration can cause connection failures.

Links

Discussion