GitLab API

GitlabTool

Actions1000

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 programmatically, such as removing outdated or incorrect emails from a user's profile.

Use Case Examples

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

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method The HTTP method used for the request, default is GET but DELETE is used for this operation.
Path Parameters Parameters required in the URL path to identify the user and the email to delete.

Output

JSON

  • statusCode - HTTP status code of the delete operation response.
  • responseBody - Response body returned from the GitLab API after attempting to delete the email.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the user ID and email ID provided are correct and exist in GitLab to avoid 404 errors.
  • Verify that the API token used has sufficient permissions to delete user emails.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • Common error messages include authentication failures, permission denied, or resource not found errors. Verify credentials and parameter values to resolve these.

Links

Discussion