GitLab API

GitlabTool

Actions905

Overview

This node operation deletes a specific email address associated with a user in GitLab by their user ID and email ID. It is useful for managing user email addresses, such as removing outdated or incorrect emails from a user's profile in GitLab.

Use Case Examples

  1. Deleting an email address from a GitLab user account by specifying the user ID and the email ID to be removed.
  2. Automating cleanup of user email addresses in GitLab through workflow automation.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET but can be set to DELETE for this operation.
Path Parameters The path parameters required for the API call, specifically the user ID and the email ID to delete.

Output

JSON

  • response - The response from the GitLab API after attempting to delete the specified email address from the user.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the user ID and email ID are correct and exist in GitLab to avoid 404 errors.
  • Verify that the API authentication credentials are valid and have sufficient permissions to delete user emails.
  • Check the base URL to ensure it points to the correct GitLab instance if using a self-hosted GitLab server.

Links

Discussion