GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation deletes a specific email address associated with a user in GitLab by using the user's ID and the 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.
  2. Automating cleanup of user email addresses in GitLab through workflow automation.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication The authentication method used for the request, defaulting to GitLab API key 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

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

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the user ID and email ID are correct and exist in GitLab to avoid 404 errors.
  • Verify that the API key used has sufficient permissions to delete user emails.
  • If authentication is skipped, the request may fail due to lack of authorization.

Links

Discussion